Skip to main content
All docs
V26.1
  • .NET 8.0+

    IDataLayerAsync.SelectDataAsync(CancellationToken, SelectStatement[]) Method

    Asynchronously retrieves data from a data store, according to specified query statements.

    Namespace: DevExpress.Xpo

    Assembly: DevExpress.Xpo.v26.1.dll

    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 query statements.

    Returns

    Type Description
    Task<SelectedData>

    Data retrieved from the data store.

    See Also