Rename db table Library => LibraryBooks

This commit is contained in:
Robert McRackan 2021-09-02 15:26:20 -04:00
parent 802763a4fb
commit 9e0caf34d6
7 changed files with 461 additions and 8 deletions

View file

@ -162,7 +162,7 @@ namespace ApplicationServices
var libBooks = context.GetLibrary_Flat_NoTracking();
var removeLibraryBooks = libBooks.Where(lb => idsToRemove.Contains(lb.Book.AudibleProductId)).ToList();
context.Library.RemoveRange(removeLibraryBooks);
context.LibraryBooks.RemoveRange(removeLibraryBooks);
var qtyChanges = context.SaveChanges();
if (qtyChanges > 0)