Session.SelectData(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, SortingCollection) Method
Retrieves objects from a session using the specified query parameters.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
#Declaration
public List<object[]> SelectData(
XPClassInfo classInfo,
CriteriaOperatorCollection properties,
CriteriaOperator criteria,
bool selectDeleted,
int topSelectedRecords,
SortingCollection sorting
)
#Parameters
Name | Type | Description |
---|---|---|
class |
XPClass |
An XPClass |
properties | Criteria |
A Criteria |
criteria | Criteria |
A Criteria |
select |
Boolean | A Boolean value that specifies whether the objects marked as deleted must be retrieved. |
top |
Int32 | An integer value which specifies the maximum number of objects to be retrieved. |
sorting | Sorting |
A Sorting |
#Returns
Type | Description |
---|---|
List<Object[]> | A list whose elements are property values that correspond to the properties of objects retrieved from the session. |
#Remarks
This method is intended for internal use. To get objects from a session, use the XPCollection and XPView components.