Пример #1
0
        public void RolledBack(DbTransaction transaction,
                               DbTransactionInterceptionContext interceptionContext)
        {
            var context = EFProfilerContextProvider.GetLoggedDbTransaction(transaction, interceptionContext);

            _profiler.TransactionRolledBack(transaction, context);
        }
Пример #2
0
        public void Committed(DbTransaction transaction,
                              DbTransactionInterceptionContext interceptionContext)
        {
            var context = EFProfilerContextProvider.GetLoggedDbTransaction(transaction, interceptionContext);

            _profiler.TransactionCommitted(transaction, context);
        }
Пример #3
0
        public void Disposing(DbTransaction transaction,
                              DbTransactionInterceptionContext interceptionContext)
        {
            var context = EFProfilerContextProvider.GetLoggedDbTransaction(transaction, interceptionContext);

            _profiler.TransactionDisposing(transaction, context);
        }