Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.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.v21.1.dll

NuGet Package: DevExpress.Xpo

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