public UnitOfWork(CheapestGContext dataContext) { this.dbContext = dataContext; }
protected RepositoryBase(IUnitOfWork unitOfWork) { this._unitOfWork = unitOfWork; this.dbContext = this._unitOfWork.dbContext; dbSet = this.dbContext.Set <T>(); }
public UnitOfWork(CheapestGContext dataContext) { this.dbContext = dataContext; }
protected RepositoryBase(IUnitOfWork unitOfWork) { this._unitOfWork = unitOfWork; this.dbContext = this._unitOfWork.dbContext; dbSet = this.dbContext.Set <T>(); }