Skip to main content
All docs
V23.2
.NET 6.0+

WebApiDataStoreService.SelectDataAsync(SelectStatement[], CancellationToken) Method

Calls the SelectDataAsync method of the underlying IDataStore with error handling.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public Task<OperationResult<SelectedData>> SelectDataAsync(
    SelectStatement[] selects,
    CancellationToken cancellationToken = default(CancellationToken)
)

Parameters

Name Type Description
selects SelectStatement[]

An array of statements to obtain data from the data store.

Optional Parameters

Name Type Default Description
cancellationToken CancellationToken null

A CancellationToken object that delivers a cancellation notice to the current operation.

Returns

Type Description
Task<OperationResult<SelectedData>>

A task that returns data retrieved from the data store.

See Also