Session.SelectDataAsync(XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperatorCollection, CriteriaOperator, Boolean, Int32, Int32, SortingCollection, AsyncSelectDataCallback) Method
Asynchronously retrieves objects from a session, using the specified query parameters.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
#Declaration
public object SelectDataAsync(
XPClassInfo classInfo,
CriteriaOperatorCollection properties,
CriteriaOperator criteria,
CriteriaOperatorCollection groupProperties,
CriteriaOperator groupCriteria,
bool selectDeleted,
int skipSelectedRecords,
int topSelectedRecords,
SortingCollection sorting,
AsyncSelectDataCallback callback
)
#Parameters
Name | Type | Description |
---|---|---|
class |
XPClass |
An XPClass |
properties | Criteria |
A Criteria |
criteria | Criteria |
A Criteria |
group |
Criteria |
A Criteria |
group |
Criteria |
A Criteria |
select |
Boolean | true to include the persistent objects marked as deleted into the list; otherwise, false. |
skip |
Int32 | An integer value which specifies the number of objects to exclude when populating the list. |
top |
Int32 | An integer value which specifies the maximum number of objects to be retrieved. |
sorting | Sorting |
A Sorting |
callback | Async |
A Async |
#Returns
Type | Description |
---|---|
Object | An object identifying the current asynchronous operation, intended for internal use. |
#Remarks
This method is intended for internal use. To get objects from a session, use the XPCollection and XPView components or the XPQuery<T>.