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

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

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