c# Programming Glossary: meals
EntitySet System.InvalidOperationException - “the entity type is not part of the model for the current context” http://stackoverflow.com/questions/13634819/entityset-system-invalidoperationexception-the-entity-type-is-not-part-of-the HomeController.cs public ActionResult Index var _db new MealsContext var m _db.Meals.ToList var d _db.Drinks.ToList return.. ActionResult Index var _db new MealsContext var m _db.Meals.ToList var d _db.Drinks.ToList return View Exception is thrown.. world the relationship between Meat and Vegetable with Meals would likely be Many to Many but don't get hung up on it here...
|