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