SimpleObjectLayer.GetObjectsByKey(Session, ObjectsByKeyQuery[]) Method
Performs object layer specific operations that are required to return persistent objects from a specified session using queries based on specified object types and key values.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve persistent objects. |
queries | ObjectsByKeyQuery[] | An array of ObjectsByKeyQuery objects, containing data for queries that retrieve persistent objects by specified object types and key values. |
Returns
Type | Description |
---|---|
ICollection[] | An array of persistent object collections retrieved for query data passed as the queries parameter. |