public IDbContextTransaction BeginTransaction(IsolationLevel level = IsolationLevel.ReadUncommitted)// Snapshot { if (appDbContext == null) { InitDbContext(); } return(appDbContext?.BeginTransaction(level)); }
public void BeginTransaction(IsolationLevel level = IsolationLevel.ReadUncommitted) // Snapshot { if (_appDbContext == null) { InitDbContext(); } _appDbContext?.BeginTransaction(level); }