Adventure.Works.LiveDemo.TSQLSyntaxLogger.ReaderExecuted C# (CSharp) Метод

ReaderExecuted() публичный Метод

public ReaderExecuted ( DbCommand command, DbCommandInterceptionContext interceptionContext ) : void
command System.Data.Common.DbCommand
interceptionContext DbCommandInterceptionContext
Результат void
        public void ReaderExecuted(DbCommand command, DbCommandInterceptionContext<DbDataReader> interceptionContext)
        {
            this.OnHandlerCalled();
            this.LogTSQL("ReaderExecuted", $" IsAsync: {interceptionContext.IsAsync} / Command Text: {Environment.NewLine}{command.CommandText}");
        }