internal void Release(WrappedTransaction transaction)
 {
     if (this.currentTransaction == transaction)
     {
         this.currentTransaction = null;
     }
 }
 public IDbTransaction BeginTransaction()
 {
     var actualTransaction = actualConnection.BeginTransaction();
     currentTransaction = new WrappedTransaction(this, actualTransaction);
     return currentTransaction;
 }