예제 #1
0
 public UnitOfWork(WebMotorsContext context)
 {
     _context = context;
 }
예제 #2
0
 public ARepository(IUnitOfWork uow)
 {
     _unitOfWork = uow;
     _context    = uow.GetContext() as WebMotorsContext;
     _dbSet      = _context.Set <TEntity>();
 }