Compiled Queries in Entity Framework Core 2.0
Entity Framework Core 2.0 introduces explicitly compiled queries. These are LINQ queries that are compiled in advance to be ready for execution as soon as application asks for data. This blog post demonstrates how compiled queries work and how to use them.
How Queries Are Executed
Suppose we have a database context class with a method to return the category by id. This method actually performs an eager load of the category and, if needed, then we can modify the meaning of the eager loading of the category in one place. https://goo.gl/PtSegY #DataIntegration #ML