/// <summary> /// Deprecated Method for adding a new object to the ORDERDETAILs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToORDERDETAILs(ORDERDETAIL oRDERDETAIL) { base.AddObject("ORDERDETAILs", oRDERDETAIL); }
/// <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; }