.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

SerializableObjectLayerClient.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.v20.2.dll

Declaration

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

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