Generate less code in the compiled model
Author: AndriySvyrydCreated Aug 14, 2024Updated Sep 14, 2026
Labelsarea-model-buildingarea-aot
- Leverage defaults (in particular, for provider-specific configuration)
- Don't emit exceptions (like
ComplexCollectionNullElementSetter) when detailed errors are not enabled - Use visitors to find the referenced metadata objects in the generated lambdas and don't output code for the unused ones. See f0e88d40a4ec337c9ecf5225659c630c27a79dc7
- Or inline them (see #34442)
Related: #31370
Source: dotnet/efcore