コード例 #1
0
 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>();
 }