예제 #1
0
        /// <summary>
        /// Create a new ingredient object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        public static ingredient Createingredient(global::System.Int32 id)
        {
            ingredient ingredient = new ingredient();

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