dotnet / dotnet/EntityFramework.Docs

Update compiled model docs

Open
#4,484 1 comment 1 reaction 1 assignee Claimed by @AndriySvyryd View on GitHub
area-model-building
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

[The page](https://learn.microsoft.com/en-us/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cexpression-api-with-constant#limitations-1) 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](https://github.com/dotnet/efcore/issues/26775).

And according to [What's New in EF Core 7.0](https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew#performance-enhancements-for-proxies), 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](https://learn.microsoft.com/en-us/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cexpression-api-with-constant#compiled-models)
* Content Source: [entity-framework/core/performance/advanced-performance-topics.md](https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/performance/advanced-performance-topics.md)
* Product: **entity-framework**
* Technology: **entity-framework-core**
* GitHub Login: @roji
* Microsoft Alias: **avickers**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.