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