/// <summary> /// Deprecated Method for adding a new object to the SurveyProgramInstance EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurveyProgramInstance(SurveyProgramInstance surveyProgramInstance) { base.AddObject("SurveyProgramInstance", surveyProgramInstance); }
/// <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; }