You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is wrong to say that Owned "they are conceptually similar to aggregates." as the article states at the begining.
An "Owned Entity" is NOT similar to an Aggregate. It is similar to the "Value-Object" pattern (although not exactly the same).
An Aggregate can contain multiple Value-Objects along with multiple fields.
@CESARDELATORRE Entities that own other entities are conceptually similar to aggregates. Value objects don't have an explicit identity and are usually compared using value equality, however owned entities have a primary key, that like in other entities can't be changed while it is being tracked.
Proper value object support is planned: dotnet/efcore#9906
We also plan to make improvements to entities that own other entities to make them behave more like aggregates: dotnet/efcore#1985
It is wrong to say that Owned "they are conceptually similar to aggregates." as the article states at the begining.
An "Owned Entity" is NOT similar to an Aggregate. It is similar to the "Value-Object" pattern (although not exactly the same).
An Aggregate can contain multiple Value-Objects along with multiple fields.
Then, a link pointing to the Value-Object pattern should be added at the begining of the article, like this:
https://www.martinfowler.com/bliki/ValueObject.html
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: