ISqlOperationInterceptor.ExecuteReaderAsync method
namespace: Serenity.Data assembly: Serenity.Net.Services
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(CancellationToken))
| parameter | description |
|---|---|
| commandText | The command text. |
| parameters | The parameters. |
| query | The query. |
| cancellationToken | Cancellation token |
See Also
- struct OptionalValue<T>
- class SqlQuery
- interface ISqlOperationInterceptor