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