☄️ Master the Modular Monolith Architecture: [ Ссылка ]
📌 Accelerate your Clean Architecture skills: [ Ссылка ]
🚀 Support me on Patreon to access the source code: [ Ссылка ]
EF Core 8 is coming out soon, and it has an excellent feature inside - complex types. This is intended to fix the use of value objects with EF Core. You no longer need to use owned types to represent value objects. I'll show you how to do this with EF 8 and the new way to implement value objects.
EF Core 8 RC1: Complex types as value objects:
- [ Ссылка ]
Join my weekly .NET newsletter:
- [ Ссылка ]
Read my Blog here:
- [ Ссылка ]
Chapters
0:00 What is a Value Object?
1:01 Configuring Value Objects as Owned Types
2:17 Using Complex Types to define Value Objects
3:51 Demo: Using Value Objects as Complex Types
8:38 Querying Complex Types with EF 8
10:57 One thing that doesn't work with Complex Types
EF Core 8 Finally Fixes Value Objects
Теги
value objectsvalue objects entity framework corevalue objectvalue objects dddvalue object dddvalue objects .netvalue objects .net 5value objects .net 6value objects .net 7value object .net 6value object .net 7value objects equalityvalue objects domain-driven designprimitive obsessionsolving primitive obsession.net primitive obsession.net 5 primitive obsessionhow to solve primitive obsessionhow to create value object