Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SerializableObjectLayer.GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[]) Method

Performs object layer specific operations that are required to return information on persistent objects retrieved from a data store, using queries based on specified object types and key values.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public 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
DevExpress.Xpo.SerializableObjectLayerResult<XPObjectStubCollection[]>

A SerializableObjectLayerResult instance that exposes an array of XPObjectStubCollection objects containing information on retrieved objects.

See Also