public RoleTaskRepository(SCHMDbContext context) : base(context) { _context = context; }
public UserRepository(SCHMDbContext context) : base(context) { _context = context; }
public StoreUnitOfWork(SCHMDbContext context) { _context = context; _storeRepository = new StoreRepository(_context); }
public RequisitionUnitOfWork(SCHMDbContext context) { _context = context; _requisitionRepository = new RequisitionRepository(_context); }
public ProductUnitOfWork(SCHMDbContext context) { _context = context; _productRepository = new ProductRepository(_context); }
// private LoginRecordRepository _loginRecordRepository { get; set; } public UserUnitOfWork(SCHMDbContext context) { _Context = context; _UserRepository = new UserRepository(_Context); //_loginRecordRepository = new LoginRecordRepository(_Context); }
public UserRoleUnitOfWork(SCHMDbContext context) { _context = context; _roleRepository = new UserRoleRepository(_context); _roleTaskRepository = new RoleTaskRepository(_context); }