EFCore: ComplexProperty, OwnedTypes and Relational
The purpose of complex property seems quite clear to me (correct me if I'm wrong). Want separate entities but want them to be in the same table, as columns.
owned types, especially when you add the .Totable("") and intentionally put them in their own respective table, resemble a one to one, or one to many relationship. So besides not wanting to add Include() in every query why would one opt for owned types? Are there any fundamental benefits?
owned types, especially when you add the .Totable("") and intentionally put them in their own respective table, resemble a one to one, or one to many relationship. So besides not wanting to add Include() in every query why would one opt for owned types? Are there any fundamental benefits?