IDataStoreAsync.SelectDataAsync(CancellationToken, SelectStatement[]) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.2.dll

Declaration

Task<SelectedData> SelectDataAsync(
    CancellationToken cancellationToken,
    params SelectStatement[] selects
)
Function SelectDataAsync(
    cancellationToken As CancellationToken,
    ParamArray selects As SelectStatement()
) As Task(Of SelectedData)

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