Exemple #1
0
 public override Task <object> ScalarExecutedAsync(DbCommand command, CommandExecutedEventData eventData, object result, CancellationToken cancellationToken = default(CancellationToken))
 {
     QueryCounterExtensions.OnExecuted(command);
     return(base.ScalarExecutedAsync(command, eventData, result, cancellationToken));
 }
Exemple #2
0
 public override object ScalarExecuted(DbCommand command, CommandExecutedEventData eventData, object result)
 {
     QueryCounterExtensions.OnExecuted(command);
     return(base.ScalarExecuted(command, eventData, result));
 }
Exemple #3
0
 public override DbDataReader ReaderExecuted(DbCommand command, CommandExecutedEventData eventData, DbDataReader result)
 {
     QueryCounterExtensions.OnExecuted(command);
     return(base.ReaderExecuted(command, eventData, result));
 }
Exemple #4
0
 public override Task <DbDataReader> ReaderExecutedAsync(DbCommand command, CommandExecutedEventData eventData, DbDataReader result, CancellationToken cancellationToken = default(CancellationToken))
 {
     QueryCounterExtensions.OnExecuted(command);
     return(base.ReaderExecutedAsync(command, eventData, result, cancellationToken));
 }
Exemple #5
0
 public override int NonQueryExecuted(DbCommand command, CommandExecutedEventData eventData, int result)
 {
     QueryCounterExtensions.OnExecuted(command);
     return(base.NonQueryExecuted(command, eventData, result));
 }