Beispiel #1
0
 public dtoAttachmentFile(AttachmentFile attachmentFile)
 {
     Id                   = attachmentFile.Id;
     Item                 = attachmentFile.Item;
     Deleted              = attachmentFile.Deleted;
     ModuleLinkId         = attachmentFile.Link.Id;
     DisplayOrder         = attachmentFile.DisplayOrder;
     Description          = attachmentFile.Description;
     ForAll               = attachmentFile.ForAll;
     SubmitterAssignments = new List <long>();
 }
Beispiel #2
0
 public AttachmentAssignment(AttachmentFile file, SubmitterType submitterType)
 {
     SubmitterType = submitterType;
     Attachment    = file;
     Deleted       = BaseStatusDeleted.None;
 }