Example of configuring Value Objects in EF Core is outdated
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 19h 10m
- Merged PRs (30d)
- 268
Description
### Type of issue
Outdated article
### Description
On the subject of [Persist value objects as owned entity types in EF Core 2.0 and later](https://learn.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/implement-value-objects#persist-value-objects-as-owned-entity-types-in-ef-core-20-and-later) you still state that a value object should be configured as an owned type. While in the newest EF Core version you now advice to configure them as `ComplexProperty` and only configure entities as owned.
### Page URL
https://learn.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/implement-value-objects
### Content source URL
https://github.com/dotnet/docs/blob/main/docs/architecture/microservices/microservice-ddd-cqrs-patterns/implement-value-objects.md
### Document Version Independent Id
cf912666-9ad3-1673-8f69-6bf52c034ef9
### Article author
@jamesmontemagno
### Metadata
* ID: 70b14bbb-dc66-f1a2-8b14-39ef3b4bde1d
* Service: **dotnet-architecture**
* Sub-service: **microservices**
Contributor guide
Assessment
This issue has not been assessed yet.