DbDataAdapter SelectQuery ExecuteReaderAsync T  Method NReco.Data Class Library Documentation
Asynchronously executes data reader and returns custom handler result.

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public Task<T> ExecuteReaderAsync<T>(
	Func<IDataReader, CancellationToken, Task<T>> readHandlerAsync,
	CancellationToken cancel
)

Parameters

readHandlerAsync
Type: System Func IDataReader, CancellationToken, Task T  
cancel
Type: System.Threading CancellationToken
Type Parameters

T

Return Value

Type: Task T 
See Also