Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SurveyProgramInstanceSponsor EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurveyProgramInstanceSponsor(SurveyProgramInstanceSponsor surveyProgramInstanceSponsor)
 {
     base.AddObject("SurveyProgramInstanceSponsor", surveyProgramInstanceSponsor);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new SurveyProgramInstanceSponsor object.
 /// </summary>
 /// <param name="surveyProgramID">Initial value of the SurveyProgramID property.</param>
 /// <param name="sponsorID">Initial value of the SponsorID property.</param>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 public static SurveyProgramInstanceSponsor CreateSurveyProgramInstanceSponsor(global::System.Int32 surveyProgramID, global::System.Int32 sponsorID, global::System.Int16 timePeriodID)
 {
     SurveyProgramInstanceSponsor surveyProgramInstanceSponsor = new SurveyProgramInstanceSponsor();
     surveyProgramInstanceSponsor.SurveyProgramID = surveyProgramID;
     surveyProgramInstanceSponsor.SponsorID = sponsorID;
     surveyProgramInstanceSponsor.TimePeriodID = timePeriodID;
     return surveyProgramInstanceSponsor;
 }