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

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

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

            log.LogCallback();
        }