コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SponsorOrganizations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsorOrganizations(SponsorOrganization sponsorOrganization)
 {
     base.AddObject("SponsorOrganizations", sponsorOrganization);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SponsorOrganization object.
 /// </summary>
 /// <param name="sponsorOrganizationID">Initial value of the SponsorOrganizationID property.</param>
 public static SponsorOrganization CreateSponsorOrganization(global::System.Int32 sponsorOrganizationID)
 {
     SponsorOrganization sponsorOrganization = new SponsorOrganization();
     sponsorOrganization.SponsorOrganizationID = sponsorOrganizationID;
     return sponsorOrganization;
 }