Esempio n. 1
0
        public void ReaderExecuted(DbCommand command, DbCommandInterceptionContext <DbDataReader> interceptionContext)
        {
            var log = new LogExecuted <DbDataReader>(Logger, command, interceptionContext);

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

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

            log.LogCallback();
        }