/// <summary> /// Deprecated Method for adding a new object to the Offres EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOffres(Offre offre) { base.AddObject("Offres", offre); }
/// <summary> /// Create a new Offre object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="clientId">Initial value of the ClientId property.</param> public static Offre CreateOffre(global::System.Int32 id, global::System.Int32 clientId) { Offre offre = new Offre(); offre.Id = id; offre.ClientId = clientId; return offre; }