Skip to main content
.NET Framework 4.6.2+

ISerializableObjectLayerService.GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[]) Method

When implemented by a class, executes an object layer’s ISerializableObjectLayer.GetObjectsByKey method implementation and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

[OperationContract(Action = "http://tempuri.org/ISerializableObjectLayerService/GetObjectsByKey")]
[XmlSerializerFormat]
OperationResult<SerializableObjectLayerResult<XPObjectStubCollection[]>> GetObjectsByKey(
    XPDictionaryStub dictionary,
    GetObjectStubsByKeyQuery[] queries
)

Parameters

Name Type Description
dictionary XPDictionaryStub

An XPDictionaryStub object that is a metadata information provider.

queries GetObjectStubsByKeyQuery[]

An array of GetObjectStubsByKeyQuery objects, containing data for queries that retrieve persistent objects by specified object types and key values.

Returns

Type Description
OperationResult<DevExpress.Xpo.SerializableObjectLayerResult<XPObjectStubCollection[]>>

An OperationResult<DevExpress.Xpo.SerializableObjectLayerResult`1[[DevExpress.Xpo.XPObjectStubCollection> object denoting the operation result.

See Also