Пример #1
0
 internal void Release(WrappedTransaction transaction)
 {
     if (this.currentTransaction == transaction)
     {
         this.currentTransaction = null;
     }
 }
Пример #2
0
 public IDbTransaction BeginTransaction()
 {
     var actualTransaction = actualConnection.BeginTransaction();
     currentTransaction = new WrappedTransaction(this, actualTransaction);
     return currentTransaction;
 }