public static DocumentPathDTO CreateDocumentPathDTO(int documentPathId, bool isLeaf, global::System.Collections.ObjectModel.ObservableCollection<SubDocumentPathDTO> subDocumentPaths) { DocumentPathDTO documentPathDTO = new DocumentPathDTO(); documentPathDTO.DocumentPathId = documentPathId; documentPathDTO.IsLeaf = isLeaf; if ((subDocumentPaths == null)) { throw new global::System.ArgumentNullException("subDocumentPaths"); } documentPathDTO.SubDocumentPaths = subDocumentPaths; return documentPathDTO; }
public void AddToDocumentPaths(DocumentPathDTO documentPathDTO) { base.AddObject("DocumentPaths", documentPathDTO); }