Use new content type queries
This commit is contained in:
parent
7d28681b23
commit
6cb98f99c5
3 changed files with 9 additions and 8 deletions
|
|
@ -20,7 +20,8 @@ namespace DataLayer
|
|||
.LibraryBooks
|
||||
.AsNoTrackingWithIdentityResolution()
|
||||
.GetLibrary()
|
||||
.Where(lb => lb.Book.ContentType != ContentType.Parent || includeParents)
|
||||
.AsEnumerable()
|
||||
.Where(lb => !lb.Book.IsEpisodeParent() || includeParents)
|
||||
.ToList();
|
||||
|
||||
public static LibraryBook GetLibraryBook_Flat_NoTracking(this LibationContext context, string productId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue