Exemple #1
0
 public void TransactionCommit()
 {
     if (trans != null)
     {
         trans.Commit();
         trans.Dispose();
         trans = null;
     }
 }
Exemple #2
0
 public void TransactionRollback()
 {
     if (trans != null)
     {
         trans.Rollback();
         trans.Dispose();
         trans = null;
     }
 }
Exemple #3
0
 public void TransactionBegin()
 {
     trans = CurrentRepository.BeginTransaction();
 }