IDbCommandInterceptorInterceptAsyncTResult Method |
Namespace: Amazon.XRay.Recorder.Handlers.SqlServer
Task<TResult> InterceptAsync<TResult>( Func<Task<TResult>> method, DbCommand command )
await InterceptAsync(() => dbCommand.ExecuteNonQueryAsync(cancellationToken), dbCommand);