/// <summary> /// Create a new SurveySections object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="surveyHeadersId">Initial value of the SurveyHeadersId property.</param> public static SurveySections CreateSurveySections(global::System.Int32 id, global::System.Int32 surveyHeadersId) { SurveySections surveySections = new SurveySections(); surveySections.Id = id; surveySections.SurveyHeadersId = surveyHeadersId; return(surveySections); }
/// <summary> /// Deprecated Method for adding a new object to the SurveySections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurveySections(SurveySections surveySections) { base.AddObject("SurveySections", surveySections); }
/// <summary> /// Create a new SurveySections object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="surveyHeadersId">Initial value of the SurveyHeadersId property.</param> public static SurveySections CreateSurveySections(global::System.Int32 id, global::System.Int32 surveyHeadersId) { SurveySections surveySections = new SurveySections(); surveySections.Id = id; surveySections.SurveyHeadersId = surveyHeadersId; return surveySections; }