'The object has been removed from the model.' when building model #26659
Labels
area-model-building
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
Servicing-approved
type-bug
Milestone
This issue is similar to #25138 but is happening when the owned types are nested. This is happening when configuring the second, nested, owned type, each of which are the same .NET type, and the first owned type is using
HasIndex
.Code to Reproduce
Stack Trace
Provider and version information
Regression: Works in 5.0.12
EF Core version: 6.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer or Microsoft.EntityFrameworkCore.InMemoryDatabase
Target framework: .NET 6.0.100
Operating system: Windows 11
IDE: Visual Studio 2019, Visual Studio 2022, LinqPad
The text was updated successfully, but these errors were encountered: