public UnitOfWork(OrderContext orderContext) { _dbContext = orderContext; }
protected RepositoryBase(OrderContext orderContext) { DbContext = orderContext; _dbSet = DbContext.Set <T>(); }
public UnitOfWork(OrderContext orderContext) { _dbContext = orderContext; }
protected RepositoryBase(OrderContext orderContext) { DbContext = orderContext; _dbSet = DbContext.Set <T>(); }