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.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
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. |