/// <summary> /// Deprecated Method for adding a new object to the SponsorPersons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSponsorPersons(SponsorPerson sponsorPerson) { base.AddObject("SponsorPersons", sponsorPerson); }
/// <summary> /// Create a new SponsorPerson object. /// </summary> /// <param name="sponsorsAsOwner_Id">Initial value of the SponsorsAsOwner_Id property.</param> /// <param name="owners_Id">Initial value of the Owners_Id property.</param> public static SponsorPerson CreateSponsorPerson(global::System.Int32 sponsorsAsOwner_Id, global::System.Int32 owners_Id) { SponsorPerson sponsorPerson = new SponsorPerson(); sponsorPerson.SponsorsAsOwner_Id = sponsorsAsOwner_Id; sponsorPerson.Owners_Id = owners_Id; return sponsorPerson; }