/// <summary> /// Create a new Commande object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="reglement">Initial value of the Reglement property.</param> /// <param name="prix">Initial value of the Prix property.</param> /// <param name="cuisinierID">Initial value of the CuisinierID property.</param> /// <param name="tableID">Initial value of the TableID property.</param> public static Commande CreateCommande(global::System.Int32 id, global::System.DateTime date, global::System.Boolean reglement, global::System.Double prix, global::System.Int32 cuisinierID, global::System.Int32 tableID) { Commande commande = new Commande(); commande.ID = id; commande.Date = date; commande.Reglement = reglement; commande.Prix = prix; commande.CuisinierID = cuisinierID; commande.TableID = tableID; return commande; }
/// <summary> /// Deprecated Method for adding a new object to the CommandeJeu EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCommandeJeu(Commande commande) { base.AddObject("CommandeJeu", commande); }