/// <summary> /// Deprecated Method for adding a new object to the PageContentType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPageContentType(PageContentType pageContentType) { base.AddObject("PageContentType", pageContentType); }
/// <summary> /// Create a new PageContentType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="pageType">Initial value of the PageType property.</param> public static PageContentType CreatePageContentType(global::System.Int32 id, global::System.String pageType) { PageContentType pageContentType = new PageContentType(); pageContentType.Id = id; pageContentType.PageType = pageType; return pageContentType; }