/// <summary> /// Create a new Sponsorship1 object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="client_Sponsorship">Initial value of the Client_Sponsorship property.</param> /// <param name="sponsor_Sponsorship">Initial value of the Sponsor_Sponsorship property.</param> public static Sponsorship1 CreateSponsorship1(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Int32 client_Sponsorship, global::System.Int32 sponsor_Sponsorship) { Sponsorship1 sponsorship1 = new Sponsorship1(); sponsorship1.Id = id; sponsorship1.RowVersion = rowVersion; sponsorship1.Client_Sponsorship = client_Sponsorship; sponsorship1.Sponsor_Sponsorship = sponsor_Sponsorship; return sponsorship1; }
/// <summary> /// Deprecated Method for adding a new object to the Sponsorships EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSponsorships(Sponsorship1 sponsorship1) { base.AddObject("Sponsorships", sponsorship1); }