private string CreateDocumentSet(DocumentSetBEO documentSet) { string imagesetid; try { documentSet.DocumentSetTypeId = Constants.ImageType; documentSet.ParentId = ProfileBEO.DatasetDetails.CollectionId; imagesetid = DataSetBO.CreateDocumentSet(documentSet); } catch (Exception ex) { Tracer.Error("DcbSlicer: Failed to create image set. {0}", ex); imagesetid = String.Empty; } return(imagesetid); }
private string CreateImageSet() { var documentSetBEO = new DocumentSetBEO(); documentSetBEO.DocumentSetId = Guid.NewGuid().ToString(); documentSetBEO.DocumentSetDescription = DcbOpticonJobBEO.DcbSourcePath; documentSetBEO.DatasetId = DcbOpticonJobBEO.DatasetFolderId; documentSetBEO.DocumentSetName = DcbOpticonJobBEO.ImageSetName; documentSetBEO.DocumentSetTypeId = ImageType; var createdByGuid = String.Empty; if (null != ProfileBEO && null != ProfileBEO.CreatedBy) { createdByGuid = ProfileBEO.CreatedBy; } documentSetBEO.CreatedBy = createdByGuid; return(CreateDocumentSet(documentSetBEO)); }
private string CreateDocumentSet(DocumentSetBEO documentSet) { string imagesetid; try { documentSet.DocumentSetTypeId = Constants.ImageType; documentSet.ParentId = ProfileBEO.DatasetDetails.CollectionId; imagesetid = DataSetBO.CreateDocumentSet(documentSet); } catch (Exception ex) { Tracer.Error("DcbSlicer: Failed to create image set. {0}", ex); imagesetid = String.Empty; } return imagesetid; }
private string CreateImageSet() { var documentSetBEO = new DocumentSetBEO(); documentSetBEO.DocumentSetId = Guid.NewGuid().ToString(); documentSetBEO.DocumentSetDescription = DcbOpticonJobBEO.DcbSourcePath; documentSetBEO.DatasetId = DcbOpticonJobBEO.DatasetFolderId; documentSetBEO.DocumentSetName = DcbOpticonJobBEO.ImageSetName; documentSetBEO.DocumentSetTypeId = ImageType; var createdByGuid = String.Empty; if (null != ProfileBEO && null != ProfileBEO.CreatedBy) { createdByGuid = ProfileBEO.CreatedBy; } documentSetBEO.CreatedBy = createdByGuid; return CreateDocumentSet(documentSetBEO); }