The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.2.dll

Declaration

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

Parameters

Name Type Description
queries ObjectsQuery[]

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

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.

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