Entity Framework Core Plus Query Deferred
Defer the execution of a query which is normally executed to allow some features like Query Cache and Query Future.
// using Z.EntityFramework.Plus; // Don't forget to include this. var ctx = new EntitiesContext(); // Query Cache ctx.Customers.DeferredCount().FromCache(); // Query Future ctx.Customers.DeferredCount().FutureValue();