public UnitOfWork(GSBrevetDbContext context) { _context = context; Users = new UserRepository(_context); Roles = new RoleRepository(_context); Companies = new CompanyRepository(_context); Patents = new PatentRepository(_context); Molecules = new MoleculeRepository(_context); Contracts = new ContractRepository(_context); Utilities = new UtilityRepository(_context); }
public MoleculeRepository(GSBrevetDbContext context) : base(context) { }
public UserRepository(GSBrevetDbContext context) : base(context) { }
public ContractRepository(GSBrevetDbContext context) : base(context) { }
public UtilityRepository(GSBrevetDbContext context) : base(context) { }
public PatentRepository(GSBrevetDbContext context) : base(context) { }
public CompanyRepository(GSBrevetDbContext context) : base(context) { }