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

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

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