public void TransactionCommit() { if (trans != null) { trans.Commit(); trans.Dispose(); trans = null; } }
public void TransactionRollback() { if (trans != null) { trans.Rollback(); trans.Dispose(); trans = null; } }
public void TransactionBegin() { trans = CurrentRepository.BeginTransaction(); }