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