mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-20 04:42:46 -04:00
Use new content type queries
This commit is contained in:
1 parent
7d28681b23
commit
6cb98f99c5
3 files changed
+9
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user