public static void ModifyDocumentPath(DocumentPath documentPath, string name, int parentId, string path) { documentPath.Name = name; documentPath.ParentId = parentId; documentPath.Path = path; }
/// <summary> /// 删除子项文档 /// </summary> private void DelSubDocumentPath(DocumentPath documentPath) { _documentPathRepository.Remove(documentPath); _documentPathRepository.UnitOfWork.Commit(); }