Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSponsors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSponsors(ProjectSponsor projectSponsor)
 {
     base.AddObject("ProjectSponsors", projectSponsor);
 }
Пример #2
0
 /// <summary>
 /// Create a new ProjectSponsor object.
 /// </summary>
 /// <param name="projectID">Initial value of the ProjectID property.</param>
 /// <param name="sponsorID">Initial value of the SponsorID property.</param>
 public static ProjectSponsor CreateProjectSponsor(global::System.Int32 projectID, global::System.Int32 sponsorID)
 {
     ProjectSponsor projectSponsor = new ProjectSponsor();
     projectSponsor.ProjectID = projectID;
     projectSponsor.SponsorID = sponsorID;
     return projectSponsor;
 }