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