public Author(CatalogEntry book, string authorName, int ordIndex = 0, string role = null) : base(true) { Book = book; FullName = authorName; OrdIndex = ordIndex; Role = role; }
public Genre(CatalogEntry book, string genre) : base(true) { Book = book; Value = genre.HasValue() ? genre.Truncate(50) : throw new ArgumentNullException(nameof(genre)); }
public Identifier(CatalogEntry book, string identifier) : base(true) { Book = book; Value = identifier.HasValue() ? FixValue(identifier) : throw new ArgumentNullException(nameof(identifier)); }
public OwnedBook(int bookNumber, CatalogEntry book) : base(true) { BookNumber = bookNumber; Book = book ?? throw new ArgumentNullException(nameof(book)); IsDeleted = false; }