Skip to main content
.NET 8.0+

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.v24.2.dll

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