'OwnedEntity.Property' and 'Entity.Property' are both mapped to column 'Column' in 'Table' but are configured to use different max lengths ('' and 'N') #22387
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
regression
type-bug
Milestone
I just test-upgraded our product's solution to use .NET 5 (preview 8). Apart from other issues, I came across something similar to #22358:
Model:
OnModelCreating:
This configuration throws at runtime:
This worked under 3.1. It looks like 5.0 doesn't propagate constraints from parent to owned entities.
The text was updated successfully, but these errors were encountered: