ISqlOperationInterceptor.ExecuteReaderAsync method
Intercepts the async SqlHelperExecuteReader methods. The default implementation forwards to ExecuteReader.
public Task<OptionalValue<IDataReader>> ExecuteReaderAsync(string commandText,
IDictionary<string, object?>? parameters, SqlQuery? query,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| commandText | The command text. |
| parameters | The parameters. |
| query | The query. |
| cancellationToken | Cancellation token |
See Also
- struct OptionalValue<T>
- class SqlQuery
- interface ISqlOperationInterceptor