Пример #1
0
        public void ReaderExecuting(DbCommand command, DbCommandInterceptionContext <DbDataReader> interceptionContext)
        {
            var log = new LogExecuting <DbDataReader>(Logger, command, interceptionContext);

            log.LogCallback();
        }
Пример #2
0
        public void ScalarExecuting(DbCommand command, DbCommandInterceptionContext <object> interceptionContext)
        {
            var log = new LogExecuting <object>(Logger, command, interceptionContext);

            log.LogCallback();
        }
Пример #3
0
        public void NonQueryExecuting(DbCommand command, DbCommandInterceptionContext <int> interceptionContext)
        {
            var log = new LogExecuting <int>(Logger, command, interceptionContext);

            log.LogCallback();
        }