Skip to content

ISqlOperationInterceptor.ExecuteReaderAsync method

namespace: Serenity.Data   assemblySerenity.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