/// <summary> /// Deprecated Method for adding a new object to the RecipeIngredients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRecipeIngredients(RecipeIngredient recipeIngredient) { base.AddObject("RecipeIngredients", recipeIngredient); }
/// <summary> /// Create a new RecipeIngredient object. /// </summary> /// <param name="recipeIngredientId">Initial value of the RecipeIngredientId property.</param> public static RecipeIngredient CreateRecipeIngredient(global::System.Int32 recipeIngredientId) { RecipeIngredient recipeIngredient = new RecipeIngredient(); recipeIngredient.RecipeIngredientId = recipeIngredientId; return recipeIngredient; }