public UnitOfWork(DBPGTContext context) { _context = context; User = new UserRepository(_context); UserType = new UserTypeRepository(_context); Campus = new CampusRepository(_context); City = new CityRepository(_context); Group = new GroupRepository(_context); State = new StateRepository(_context); Student = new StudentRepository(_context); Review = new ReviewRepository(_context); File = new FileRepository(_context); Comment = new CommentRepository(_context); Warning = new WarningRepository(_context); }
public StateRepository(DBPGTContext context) : base(context) { }
public FileRepository(DBPGTContext context) : base(context) { }
public UserRepository(DBPGTContext context) : base(context) { }
public CampusRepository(DBPGTContext context) : base(context) { }
public StudentRepository(DBPGTContext context) : base(context) { }
public CommentRepository(DBPGTContext context) : base(context) { }
public Repository(DBPGTContext context) { Context = context; _entities = Context.Set <TEntity>(); }
public CityRepository(DBPGTContext context) : base(context) { }
public WarningRepository(DBPGTContext context) : base(context) { }
public ReviewRepository(DBPGTContext context) : base(context) { }
public GroupRepository(DBPGTContext context) : base(context) { }