/// <summary> /// Create a new Nutrients object. /// </summary> /// <param name="foodId">Initial value of the FoodId property.</param> /// <param name="compId">Initial value of the CompId property.</param> public static Nutrients CreateNutrients(global::System.String foodId, global::System.String compId) { Nutrients nutrients = new Nutrients(); nutrients.FoodId = foodId; nutrients.CompId = compId; return nutrients; }
/// <summary> /// Deprecated Method for adding a new object to the Nutrients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNutrients(Nutrients nutrients) { base.AddObject("Nutrients", nutrients); }