IObjectLayer.SelectDataAsync(Session, ObjectsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator, AsyncSelectDataCallback) Method
When implemented by a class, asynchronously retrieves object data from a session using specified query parameters and notifies upon completion.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
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. |
callback | AsyncSelectDataCallback | An AsyncLoadObjectsCallback delegate to be called after the object data have been retrieved. Use the callback to store the exception information passed as a parameter, and use this information later, to raise the exception again, within the original thread. Do not raise exceptions or modify persistent objects within a callback. |
Returns
Type | Description |
---|---|
Object | An object identifying the current asynchronous operation, intended for internal use. |