예제 #1
0
        internal void CleanupConnectionOnTransactionCompletion(Transaction transaction)
        {
            this.DetachTransaction(transaction, false);
            DbConnectionPool pool = this.Pool;

            if (pool != null)
            {
                pool.TransactionEnded(transaction, this);
            }
        }
예제 #2
0
        // Handle transaction detach, pool cleanup and other post-transaction cleanup tasks associated with
        internal void CleanupConnectionOnTransactionCompletion(SysTx.Transaction transaction)
        {
            DetachTransaction(transaction, false);

            DbConnectionPool pool = Pool;

            if (null != pool)
            {
                pool.TransactionEnded(transaction, this);
            }
        }