示例#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;
 }