/// <summary>
 /// Deprecated Method for adding a new object to the DocumentCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocumentCategories(DocumentCategory documentCategory)
 {
     base.AddObject("DocumentCategories", documentCategory);
 }
 /// <summary>
 /// Create a new DocumentCategory object.
 /// </summary>
 /// <param name="categoryId">Initial value of the CategoryId property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static DocumentCategory CreateDocumentCategory(global::System.Int32 categoryId, global::System.String name)
 {
     DocumentCategory documentCategory = new DocumentCategory();
     documentCategory.CategoryId = categoryId;
     documentCategory.name = name;
     return documentCategory;
 }