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