示例#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();
        }