mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-20 20:55:05 -04:00
Improved Category Ladders
This commit is contained in:
1 parent
ea6adeb58f
commit
3211b2dc85
11 files changed
+132
-160
No files matched your search
@@ -0,0 +1,11 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Linq;
|
||||
|
||||
namespace DataLayer
|
||||
{
|
||||
public static class CategoryQueries
|
||||
{
|
||||
public static IQueryable<CategoryLadder> GetCategoryLadders(this LibationContext context)
|
||||
=> context.CategoryLadders.Include(c => c._categories);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user