public void Commit() { dbContext.SaveChanges(); transaction.Commit(); transaction = dbContext.Database.BeginTransaction(); }
public void Save() { DbContext.SaveChanges(); }
public void Commit() { dbContext.SaveChanges(); transaction.Commit(); transaction = dbContext.Database.BeginTransaction(); }
public void Save() { DbContext.SaveChanges(); }