Table of Contents

ExecuteReaderAsync Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/DataManager.cs

ExecuteReaderAsync(DataStatement, CancellationToken)

Asynchronously executes the command statement and returns a DbDataReader.

public Task<DbDataReader> ExecuteReaderAsync(DataStatement statement, CancellationToken ct = default)

Parameters

statement DataStatement

The command statement to execute.

ct CancellationToken

A token to cancel the asynchronous operation.

Returns

Task<DbDataReader>

A task that represents the asynchronous operation. The task result contains an instance of DbDataReader.