← Back
Milan Jovanovic February 13, 2025 34s

Complex Domain Models? You can use EF Core Owned Types to store them

Summary

This tech transcript discusses how to map complex and nullable domain entities in EF Core to the database. It specifically references using `OwnsOne` and `OwnsMany` methods for one-to-one and collection relationships, respectively, which are stored in the same or separate tables. The practical takeaway is that EF Core handles these complex types, including nullables, seamlessly in newer versions without special configuration.

View original episode ↗