コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SurveyProgramInstance EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurveyProgramInstance(SurveyProgramInstance surveyProgramInstance)
 {
     base.AddObject("SurveyProgramInstance", surveyProgramInstance);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SurveyProgramInstance object.
 /// </summary>
 /// <param name="surveyProgramID">Initial value of the SurveyProgramID property.</param>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 public static SurveyProgramInstance CreateSurveyProgramInstance(global::System.Int32 surveyProgramID, global::System.Int16 timePeriodID)
 {
     SurveyProgramInstance surveyProgramInstance = new SurveyProgramInstance();
     surveyProgramInstance.SurveyProgramID = surveyProgramID;
     surveyProgramInstance.TimePeriodID = timePeriodID;
     return surveyProgramInstance;
 }