public DbContextTransaction BeginTransaction() { // dispose old transaction _dbFactory.ClearConnection(_transaction); // new transaction _transaction = dataContext.Database.BeginTransaction(); return(_transaction); }
public DbContextTransaction BeginTransaction() { // dispose old transaction _dbFactory.ClearConnection(_transaction); // new transaction _transaction = dataContext.Database.BeginTransaction(); return(_transaction); }