/// <summary> /// Deprecated Method for adding a new object to the FoodEntryTypeValueOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFoodEntryTypeValueOptions(FoodEntryTypeValueOption foodEntryTypeValueOption) { base.AddObject("FoodEntryTypeValueOptions", foodEntryTypeValueOption); }
/// <summary> /// Create a new FoodEntryTypeValueOption object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="foodEntryTypeValueId">Initial value of the FoodEntryTypeValueId property.</param> /// <param name="value">Initial value of the Value property.</param> public static FoodEntryTypeValueOption CreateFoodEntryTypeValueOption(global::System.Int32 id, global::System.Int32 foodEntryTypeValueId, global::System.String value) { FoodEntryTypeValueOption foodEntryTypeValueOption = new FoodEntryTypeValueOption(); foodEntryTypeValueOption.Id = id; foodEntryTypeValueOption.FoodEntryTypeValueId = foodEntryTypeValueId; foodEntryTypeValueOption.Value = value; return foodEntryTypeValueOption; }