示例#1
0
 /// <summary>
 /// Create a new ingridient object.
 /// </summary>
 /// <param name="ingridient_id">Initial value of the ingridient_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="cost">Initial value of the cost property.</param>
 public static ingridient Createingridient(global::System.Int32 ingridient_id, global::System.String name, global::System.Int32 cost)
 {
     ingridient ingridient = new ingridient();
     ingridient.ingridient_id = ingridient_id;
     ingridient.name = name;
     ingridient.cost = cost;
     return ingridient;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ingridient EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToingridient(ingridient ingridient)
 {
     base.AddObject("ingridient", ingridient);
 }