示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProgramInstanceSponsor EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProgramInstanceSponsor(ProgramInstanceSponsor programInstanceSponsor)
 {
     base.AddObject("ProgramInstanceSponsor", programInstanceSponsor);
 }
示例#2
0
 /// <summary>
 /// Create a new ProgramInstanceSponsor object.
 /// </summary>
 /// <param name="programID">Initial value of the ProgramID property.</param>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 /// <param name="sponsorID">Initial value of the SponsorID property.</param>
 public static ProgramInstanceSponsor CreateProgramInstanceSponsor(global::System.Int32 programID, global::System.Int16 timePeriodID, global::System.Int32 sponsorID)
 {
     ProgramInstanceSponsor programInstanceSponsor = new ProgramInstanceSponsor();
     programInstanceSponsor.ProgramID = programID;
     programInstanceSponsor.TimePeriodID = timePeriodID;
     programInstanceSponsor.SponsorID = sponsorID;
     return programInstanceSponsor;
 }