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

Session.GetObjects(ObjectsQuery[]) Method

Gets a collection of persistent objects returned by specified queries.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll


public virtual ICollection[] GetObjects(
    ObjectsQuery[] queries
Public Overridable Function GetObjects(
    queries As ObjectsQuery()
) As ICollection()


Name Type Description
queries ObjectsQuery[]

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


Type Description

A collection of persistent objects returned by the queries.


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