Esempio n. 1
0
 protected virtual void Dispose(bool disposing)
 {
     if(!isDisposed)
     {
         if (disposing)
         {
         if (_trx != null) { _trx.Dispose(); _trx = null; }
         }
     }
     // Code to dispose the unmanaged resources
     // held by the class
     _trx = null;
     _conn = null;
     isDisposed = true;
 }
Esempio n. 2
0
 internal DBTransaction(System.Data.IDbTransaction Transaction, DBConnection Connection)
 {
     _trx = Transaction;
     _conn = Connection;
 }