Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PageContentType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPageContentType(PageContentType pageContentType)
 {
     base.AddObject("PageContentType", pageContentType);
 }
Beispiel #2
0
 /// <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;
 }