Skip to content

Example of configuring Value Objects in EF Core is outdated #42377

Open
@ThomasHeijtink

Description

@ThomasHeijtink

Type of issue

Outdated article

Description

On the subject of Persist value objects as owned entity types in EF Core 2.0 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions