/// <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="documentCategoryID">Initial value of the DocumentCategoryID property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static DocumentCategory CreateDocumentCategory(global::System.Int32 documentCategoryID, global::System.Boolean isActive)
 {
     DocumentCategory documentCategory = new DocumentCategory();
     documentCategory.DocumentCategoryID = documentCategoryID;
     documentCategory.IsActive = isActive;
     return documentCategory;
 }