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