public FoodRepository(NutrientsContext db)
 {
     this.db = db;
 }
 public DataSource(NutrientsContext devContext)
 {
     this.DevContext = devContext;
 }
 public AnimalController()
 {
     this.db = new NutrientsContext();
     this.queryDataSource = new DataSource(db);
 }
示例#4
0
 public NutrientController(NutrientsContext db)
 {
     this.db = db;
 }
示例#5
0
 public AnimalRepository(NutrientsContext db)
 {
     this.db = db;
 }
示例#6
0
 public FoodGroupController(NutrientsContext db)
 {
     this.db   = db;
     this.repo = new FoodGroupRepository(db);
 }