예제 #1
0
 private void DetachConnection()
 {
     if (this.wrappedConnection != null)
     {
         this.wrappedConnection.Release(this);
         this.wrappedConnection = null;
     }
 }
예제 #2
0
 /// <summary>
 ///   Creates a new WrappedTransaction instance.</summary>
 /// <param name="transaction">
 ///   The actual transaction, this wrapped transaction is created for.</param>
 internal WrappedTransaction(WrappedConnection wrappedConnection, IDbTransaction actualTransaction)
 {
     this.wrappedConnection = wrappedConnection;
     this.actualTransaction = actualTransaction;
 }
예제 #3
0
 /// <summary>
 ///   Creates a new WrappedTransaction instance.</summary>
 /// <param name="transaction">
 ///   The actual transaction, this wrapped transaction is created for.</param>
 internal WrappedTransaction(WrappedConnection wrappedConnection, IDbTransaction actualTransaction)
 {
     this.wrappedConnection = wrappedConnection;
     this.actualTransaction = actualTransaction;
 }