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