public IndividualRepository(GearHunterDbContext context) : base(context)
 {
     this.dbSet = context.Set <Individual>();
 }
示例#2
0
 public GenericRepository(GearHunterDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
示例#3
0
 public CompanyRepository(GearHunterDbContext context) : base(context)
 {
     this.dbSet = context.Set <Company>();
 }