Esempio n. 1
0
 public Annotation(AnnotationType annType, int bookId, int bookCurrentVersion, string docId, string guideCardName, string noteText, string highlightText, string tocTitle, List <Guid> categoryTagIDs, AnnotationDataItem startLevel, AnnotationDataItem endLevel)
     : this(Guid.NewGuid(), annType, AnnotationStatusEnum.Created, bookId, bookCurrentVersion, docId, guideCardName, noteText, highlightText, tocTitle, categoryTagIDs, startLevel, endLevel)
 {
 }
Esempio n. 2
0
 public Annotation(Guid annotationCode, AnnotationType annType, AnnotationStatusEnum annStatus, int bookId, int bookCurrentVersion, string docId, string guideCardName, string noteText, string highlightText, string tocTitle, List <Guid> categoryTagIDs, AnnotationDataItem startLevel, AnnotationDataItem endLevel)
 {
     this.BookId             = bookId;
     this.BookCurrentVersion = bookCurrentVersion;
     this.UpdatedTime        = DateTime.UtcNow;
     this.DocId          = docId;
     this.Type           = annType;
     this.Status         = annStatus;
     this.AnnotationCode = annotationCode;
     this.GuideCardName  = guideCardName;
     this.NoteText       = noteText;
     this.HighlightText  = highlightText;
     this.CategoryTagIDs = categoryTagIDs;
     this.StartLevel     = startLevel;
     this.EndLevel       = endLevel;
     this.TOCTitle       = tocTitle;
 }