/// <summary> /// Deprecated Method for adding a new object to the recipe_stuff EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTorecipe_stuff(recipe_stuff recipe_stuff) { base.AddObject("recipe_stuff", recipe_stuff); }
/// <summary> /// Create a new recipe_stuff object. /// </summary> /// <param name="ingridient_id">Initial value of the ingridient_id property.</param> /// <param name="recipe_id">Initial value of the recipe_id property.</param> /// <param name="recipe_stuff_id">Initial value of the recipe_stuff_id property.</param> /// <param name="count">Initial value of the count property.</param> public static recipe_stuff Createrecipe_stuff(global::System.Int32 ingridient_id, global::System.Int32 recipe_id, global::System.Int32 recipe_stuff_id, global::System.Int32 count) { recipe_stuff recipe_stuff = new recipe_stuff(); recipe_stuff.ingridient_id = ingridient_id; recipe_stuff.recipe_id = recipe_id; recipe_stuff.recipe_stuff_id = recipe_stuff_id; recipe_stuff.count = count; return recipe_stuff; }