/// <summary> /// Deprecated Method for adding a new object to the PlatJeu1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlatJeu1(Plat plat) { base.AddObject("PlatJeu1", plat); }
/// <summary> /// Create a new Plat object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="nom">Initial value of the Nom property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="prix">Initial value of the Prix property.</param> /// <param name="typePlatID">Initial value of the TypePlatID property.</param> /// <param name="specialiteID">Initial value of the SpecialiteID property.</param> public static Plat CreatePlat(global::System.Int32 id, global::System.String nom, global::System.String description, global::System.Double prix, global::System.Int32 typePlatID, global::System.Int32 specialiteID) { Plat plat = new Plat(); plat.ID = id; plat.Nom = nom; plat.Description = description; plat.Prix = prix; plat.TypePlatID = typePlatID; plat.SpecialiteID = specialiteID; return plat; }