示例#1
0
 public UserRepository(SITDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <User>();
 }
示例#2
0
 public EntityRepository(SITDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <T>();
 }