Skip to main content
.NET Framework 4.6.2+

IObjectLayer.SelectData(Session, ObjectsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator) Method

When implemented by a class, retrieves object data from a session using specified query parameters.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

List<object[]> SelectData(
    Session session,
    ObjectsQuery query,
    CriteriaOperatorCollection properties,
    CriteriaOperatorCollection groupProperties,
    CriteriaOperator groupCriteria
)

Parameters

Name Type Description
session Session

A Session that is used to retrieve persistent objects.

query ObjectsQuery

An ObjectsQuery object specifying a query that is executed to retrieve persistent objects.

properties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies object properties to be retrieved.

groupProperties CriteriaOperatorCollection

A CriteriaOperatorCollection object which specifies the grouping properties.

groupCriteria CriteriaOperator

A CriteriaOperator descendant which specifies the grouping criteria for the retrieved objects.

Returns

Type Description
List<Object[]>

A list whose elements are property values that correspond to the properties of objects retrieved from the session.

See Also