Skip to main content
.NET Framework 4.5.2+

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 Package: DevExpress.Xpo

Declaration

public ICollection[] GetObjectsByKey(
    Session session,
    ObjectsByKeyQuery[] queries
)

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.

See Also