sl8er
EF Core Many-to-One (Many Owned Entity to Non-owned Entity)
In the context of a multi-tenant application, I want to design an aggregate like so - a root
Customer
has a List<Address>
, Address
being an owned type. A Customer
also references a Tenant
. If I also want Address
to reference a Tenant
, it seems EF Core isn't happy when trying to configure a Tenant
like so:
6 replies