Skip to main content

IDataStoreAsync.SelectDataAsync(CancellationToken, SelectStatement[]) Method

Uses specified query statements to asynchronously fetch data from a data store.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

Task<SelectedData> SelectDataAsync(
    CancellationToken cancellationToken,
    params SelectStatement[] selects
)

Parameters

Name Type Description
cancellationToken CancellationToken

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

selects SelectStatement[]

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

Returns

Type Description
Task<SelectedData>

A Task that returns data retrieved from the data store.

See Also