Class EFQueryHooks
- Namespace
- Breeze.Persistence.EFCore
- Assembly
- Breeze.Persistence.EFCore.dll
Plugs Entity Framework's query steps into EntityQuery's static hooks.
public static class EFQueryHooks
- Inheritance
-
EFQueryHooks
- Inherited Members
Remarks
The query filters do this on the first query over an EF queryable
(EnsureInstalled(IQueryable?)), and EFPersistenceManager on its first
use, so an expand works whichever comes first. Call it yourself only to restore the hooks
after replacing them.
Methods
Install()
Set ApplyExpand to EF's Include, and ApplyCustomLogic to ApplyAsNoTracking(EntityQuery, IQueryable, Type).
public static void Install()