/// <summary> /// Deprecated Method for adding a new object to the PlanSurveys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlanSurveys(PlanSurvey planSurvey) { base.AddObject("PlanSurveys", planSurvey); }
/// <summary> /// Create a new PlanSurvey object. /// </summary> /// <param name="planTimePeriodId">Initial value of the PlanTimePeriodId property.</param> /// <param name="surveyTimePeriodId">Initial value of the SurveyTimePeriodId property.</param> public static PlanSurvey CreatePlanSurvey(global::System.Int32 planTimePeriodId, global::System.Int32 surveyTimePeriodId) { PlanSurvey planSurvey = new PlanSurvey(); planSurvey.PlanTimePeriodId = planTimePeriodId; planSurvey.SurveyTimePeriodId = surveyTimePeriodId; return planSurvey; }