/// <summary> /// Create a new SurveyPages object. /// </summary> /// <param name="pageGuid">Initial value of the PageGuid property.</param> /// <param name="surveyGuid">Initial value of the SurveyGuid property.</param> /// <param name="pageTitle">Initial value of the PageTitle property.</param> /// <param name="pageOrder">Initial value of the PageOrder property.</param> /// <param name="pageEnabled">Initial value of the PageEnabled property.</param> public static SurveyPages CreateSurveyPages(global::System.Guid pageGuid, global::System.Guid surveyGuid, global::System.String pageTitle, global::System.Int32 pageOrder, global::System.Boolean pageEnabled) { SurveyPages surveyPages = new SurveyPages(); surveyPages.PageGuid = pageGuid; surveyPages.SurveyGuid = surveyGuid; surveyPages.PageTitle = pageTitle; surveyPages.PageOrder = pageOrder; surveyPages.PageEnabled = pageEnabled; return surveyPages; }
/// <summary> /// Deprecated Method for adding a new object to the SurveyPages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurveyPages(SurveyPages surveyPages) { base.AddObject("SurveyPages", surveyPages); }