Method ExecuteReaderAsync
| Improve this Doc View SourceExecuteReaderAsync(Model, TCommand, CancellationToken)
Executes the command in transaction and returns a database reader.
Declaration
protected abstract Task<TReader> ExecuteReaderAsync(Model model, TCommand command, CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| Model | model | The model. |
| TCommand | command | The command. |
| System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TReader> | The result reader. |