示例#1
0
 public HazmatRepository(HazmatContext context)
 {
     this.context = context;
 }
 public GenericRepository(HazmatContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }