Add bitrate to Book
This commit is contained in:
parent
b65875386d
commit
5815a04712
8 changed files with 500 additions and 1 deletions
|
|
@ -12,11 +12,13 @@ namespace DataLayer.Configurations
|
|||
|
||||
entity.OwnsOne(b => b.Rating);
|
||||
|
||||
entity.Property(nameof(Book._audioFormat));
|
||||
//
|
||||
// CRUCIAL: ignore unmapped collections, even get-only
|
||||
//
|
||||
entity.Ignore(nameof(Book.Authors));
|
||||
entity.Ignore(nameof(Book.Narrators));
|
||||
entity.Ignore(nameof(Book.AudioFormat));
|
||||
//// these don't seem to matter
|
||||
//entity.Ignore(nameof(Book.AuthorNames));
|
||||
//entity.Ignore(nameof(Book.NarratorNames));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue