WebApiDataStoreService.SelectDataAsync(SelectStatement[], CancellationToken) Method
In This Article
Calls the SelectDataAsync method of the underlying IDataStore with error handling.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public Task<OperationResult<SelectedData>> SelectDataAsync(
SelectStatement[] selects,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type | Description |
---|---|---|
selects | Select |
An array of statements to obtain data from the data store. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<Operation |
A task that returns data retrieved from the data store. |
See Also