protected override void Dispose(bool disposing)
 {
     if (disposing && _transaction != null)
     {
         _transaction.Dispose();
     }
     _transaction = null;
     _connection  = null;
     base.Dispose(disposing);
 }
 public SimpleDbTransaction(DbTransaction transaction, SimpleDbConnection connection)
 {
     _transaction = transaction;
     _connection  = connection;
 }