コード例 #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();
        }