/// <summary> /// Create a new VirtualPage object. /// </summary> /// <param name="virtualPageID">Initial value of the VirtualPageID property.</param> /// <param name="pageName">Initial value of the PageName property.</param> /// <param name="path">Initial value of the Path property.</param> /// <param name="pageContent">Initial value of the PageContent property.</param> /// <param name="metaDescription">Initial value of the MetaDescription property.</param> /// <param name="pageTitle">Initial value of the PageTitle property.</param> public static VirtualPage CreateVirtualPage(global::System.Int32 virtualPageID, global::System.String pageName, global::System.String path, global::System.String pageContent, global::System.String metaDescription, global::System.String pageTitle) { VirtualPage virtualPage = new VirtualPage(); virtualPage.VirtualPageID = virtualPageID; virtualPage.PageName = pageName; virtualPage.Path = path; virtualPage.PageContent = pageContent; virtualPage.MetaDescription = metaDescription; virtualPage.PageTitle = pageTitle; return virtualPage; }
/// <summary> /// Deprecated Method for adding a new object to the VirtualPages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVirtualPages(VirtualPage virtualPage) { base.AddObject("VirtualPages", virtualPage); }