Implement value objects in EF
Important characteristics of value objects Value object implementation in C# How to persist value objects in the database with EF Core 2.0 and later Persist value objects as owned entity types in EF Core 2.0 and later Additional resources Tip This content is an excerpt from the eBook, .NET Microservices Architecture for Containerized .NET Applications, available on .NET Docs or as a free downloadable PDF that can be read offline. .NET Microservices Architecture for Containerized .NET Applications eBook cover thumbnail. As discussed in earlier sections about entities and aggregates, identity is fundamental for entities. However, there are many objects and data items in a system that do not require an identity and identity tracking, such as value objects. A value object can reference other entities. For example, in an application that generates a route that describes how to get from one point to another, that route would be a value object. It would be a snapshot of points on a speci...