Skip to main content
A newer version of this page is available. .
.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.v19.2.dll

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