예제 #1
0
        public void ReaderExecuted(DbCommand command, DbCommandInterceptionContext <DbDataReader> interceptionContext)
        {
            var log = new LogExecuted <DbDataReader>(Logger, command, interceptionContext);

            log.LogCallback();
        }
예제 #2
0
        public void ScalarExecuted(DbCommand command, DbCommandInterceptionContext <object> interceptionContext)
        {
            var log = new LogExecuted <object>(Logger, command, interceptionContext);

            log.LogCallback();
        }
예제 #3
0
        public void NonQueryExecuted(DbCommand command, DbCommandInterceptionContext <int> interceptionContext)
        {
            var log = new LogExecuted <int>(Logger, command, interceptionContext);

            log.LogCallback();
        }