Skip to main content
.NET Framework 4.6.2+

ISerializableObjectLayer.GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[]) Method

When implemented by a class, returns 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.v24.2.dll

Declaration

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