EntityFramework.Docs
EntityFramework.Docs copied to clipboard
Update compiled model docs
The page currently lists four limitations for using compiled models:
- Global query filters are not supported
- Lazy loading and change-tracking proxies are not supported
- The model must be manually synchronized by regenerating it any time the model definition or configuration change
- Custom IModelCacheKeyFactory implementations are not supported.
However, it does not mention that custom function translations are not supported.
And according to What's New in EF Core 7.0, lazy-loading and change-tracking proxies are supported.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: e638463f-fec2-ca39-37a4-b3580fa874d8
- Version Independent ID: e96b453f-0256-8bc9-bd21-1343f2fe246c
- Content: Advanced Performance Topics
- Content Source: entity-framework/core/performance/advanced-performance-topics.md
- Product: entity-framework
- Technology: entity-framework-core
- GitHub Login: @roji
- Microsoft Alias: avickers
Also mention that the model is discovered automatically now https://github.com/dotnet/efcore/pull/33148 and can be generated during build https://github.com/dotnet/efcore/pull/33049
And the new experimental --nativeaot flag
Also, NTS is not supported