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

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

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