/// <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); }
/// <summary> /// Create a new Commande object. /// </summary> /// <param name="noCommande">Initial value of the noCommande property.</param> /// <param name="dateCommande">Initial value of the dateCommande property.</param> /// <param name="noCarte">Initial value of the noCarte property.</param> /// <param name="moisExpiration">Initial value of the moisExpiration property.</param> /// <param name="anneeExpiration">Initial value of the anneeExpiration property.</param> /// <param name="titulaireCarte">Initial value of the titulaireCarte property.</param> public static Commande CreateCommande(global::System.Int32 noCommande, global::System.DateTime dateCommande, global::System.Int32 noCarte, global::System.Int32 moisExpiration, global::System.Int32 anneeExpiration, global::System.String titulaireCarte) { Commande commande = new Commande(); commande.noCommande = noCommande; commande.dateCommande = dateCommande; commande.noCarte = noCarte; commande.moisExpiration = moisExpiration; commande.anneeExpiration = anneeExpiration; commande.titulaireCarte = titulaireCarte; return commande; }