I'm not sure how to set up this database in Entity Framework. I have theese models:
public class Recipe
    {
        public int RecipeId { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Difficulty { get; set; }
        public IEnumerable<Ingredient> Ingredients { get; set; }
    }
    public class Ingredient
    {
        public int IngredientId { get; set; }
        public string Name { get; set; }
        public IEnumerable<Recipe> Recipes { get; set; }
    }
But I need to add measure(unit) and amount. It should be in litre and gram. Where should I add this? My thoughts at the moment are:
- A third entity. But how should i set that up?
- Put it in Ingredient but then I cant reuse the Ingredient on another Recipe
Everything will be displayed in a ASP.NET MVC project later.
