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