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

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

Performs object layer specific operations that are required to retrieve object data from a session using specified query parameters.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public List<object[]> SelectData(
    Session session,
    ObjectsQuery query,
    CriteriaOperatorCollection properties,
    CriteriaOperatorCollection groupProperties,
    CriteriaOperator groupCriteria
)
Public Function SelectData(
    session As Session,
    query As ObjectsQuery,
    properties As CriteriaOperatorCollection,
    groupProperties As CriteriaOperatorCollection,
    groupCriteria As CriteriaOperator
) As List(Of Object())

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