/// <summary> /// Create a new Pages object. /// </summary> /// <param name="pageID">Initial value of the PageID property.</param> /// <param name="pageOrder">Initial value of the PageOrder property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="requireSSL">Initial value of the RequireSSL property.</param> /// <param name="allowBrowserCache">Initial value of the AllowBrowserCache property.</param> /// <param name="showBreadcrumbs">Initial value of the ShowBreadcrumbs property.</param> /// <param name="useUrl">Initial value of the UseUrl property.</param> /// <param name="openInNewWindow">Initial value of the OpenInNewWindow property.</param> /// <param name="showChildPageMenu">Initial value of the ShowChildPageMenu property.</param> /// <param name="showChildBreadCrumbs">Initial value of the ShowChildBreadCrumbs property.</param> /// <param name="hideMainMenu">Initial value of the HideMainMenu property.</param> /// <param name="includeInMenu">Initial value of the IncludeInMenu property.</param> /// <param name="pageGuid">Initial value of the PageGuid property.</param> /// <param name="parentGuid">Initial value of the ParentGuid property.</param> /// <param name="hideAfterLogin">Initial value of the HideAfterLogin property.</param> /// <param name="isPending">Initial value of the IsPending property.</param> public static Pages CreatePages(global::System.Int32 pageID, global::System.Int32 pageOrder, global::System.Int32 siteID, global::System.Boolean requireSSL, global::System.Boolean allowBrowserCache, global::System.Boolean showBreadcrumbs, global::System.Boolean useUrl, global::System.Boolean openInNewWindow, global::System.Boolean showChildPageMenu, global::System.Boolean showChildBreadCrumbs, global::System.Boolean hideMainMenu, global::System.Boolean includeInMenu, global::System.Guid pageGuid, global::System.Guid parentGuid, global::System.Boolean hideAfterLogin, global::System.Boolean isPending) { Pages pages = new Pages(); pages.PageID = pageID; pages.PageOrder = pageOrder; pages.SiteID = siteID; pages.RequireSSL = requireSSL; pages.AllowBrowserCache = allowBrowserCache; pages.ShowBreadcrumbs = showBreadcrumbs; pages.UseUrl = useUrl; pages.OpenInNewWindow = openInNewWindow; pages.ShowChildPageMenu = showChildPageMenu; pages.ShowChildBreadCrumbs = showChildBreadCrumbs; pages.HideMainMenu = hideMainMenu; pages.IncludeInMenu = includeInMenu; pages.PageGuid = pageGuid; pages.ParentGuid = parentGuid; pages.HideAfterLogin = hideAfterLogin; pages.IsPending = isPending; return pages; }
/// <summary> /// Deprecated Method for adding a new object to the Pages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPages(Pages pages) { base.AddObject("Pages", pages); }