Example #1
0
        /// <summary>
        /// Create a new recipe_ingredients object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="name">Initial value of the name property.</param>
        public static recipe_ingredients Createrecipe_ingredients(global::System.Int32 id, global::System.String name)
        {
            recipe_ingredients recipe_ingredients = new recipe_ingredients();

            recipe_ingredients.id   = id;
            recipe_ingredients.name = name;
            return(recipe_ingredients);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the recipe_ingredients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTorecipe_ingredients(recipe_ingredients recipe_ingredients)
 {
     base.AddObject("recipe_ingredients", recipe_ingredients);
 }