Fix #556
This commit is contained in:
parent
36005508a1
commit
dac6877a06
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ namespace DtoImporterService
|
|||
//
|
||||
// CURRENT SOLUTION: don't re-insert
|
||||
|
||||
var existingEntries = DbContext.LibraryBooks.AsEnumerable().Where(l => l.Book is not null).ToDictionary(l => l.Book.AudibleProductId);
|
||||
var existingEntries = DbContext.LibraryBooks.AsEnumerable().Where(l => l.Book is not null).ToDictionarySafe(l => l.Book.AudibleProductId);
|
||||
var hash = ToDictionarySafe(importItems, dto => dto.DtoItem.ProductId, tieBreak);
|
||||
int qtyNew = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue