コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ORDERDETAILs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToORDERDETAILs(ORDERDETAIL oRDERDETAIL)
 {
     base.AddObject("ORDERDETAILs", oRDERDETAIL);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ORDERDETAIL object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDFood">Initial value of the IDFood property.</param>
 public static ORDERDETAIL CreateORDERDETAIL(global::System.Int32 id, global::System.Int32 iDFood)
 {
     ORDERDETAIL oRDERDETAIL = new ORDERDETAIL();
     oRDERDETAIL.ID = id;
     oRDERDETAIL.IDFood = iDFood;
     return oRDERDETAIL;
 }