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