Skip to main content
.NET Framework 4.5.2+

Session.GetObjects(ObjectsQuery[]) Method

Gets a collection of persistent objects returned by specified queries.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public virtual ICollection[] GetObjects(
    ObjectsQuery[] queries
)

Parameters

Name Type Description
queries ObjectsQuery[]

An array of ObjectsQuery objects specifying queries that are executed to retrieve persistent objects.

Returns

Type Description
ICollection[]

A collection of persistent objects returned by the queries.

Remarks

This member supports the internal infrastructure and is not intended to be used directly from your code. To get objects from a session, use the XPCollection and XPView components or the XPQuery<T>.

See Also