public void Commit() { _dataBaseContext.Commit(); _dataBaseContext.BeginTrans(); }
public UnitOfWork(DataBaseContext dataBaseContext) { _dataBaseContext = dataBaseContext; _dataBaseContext.BeginTrans(); }
public void Commit() { _dataBaseContext.Commit(); _dataBaseContext.BeginTrans(); }
public UnitOfWork(DataBaseContext dataBaseContext) { _dataBaseContext = dataBaseContext; _dataBaseContext.BeginTrans(); }