DEV Community

Zayn Tariq
Zayn Tariq

Posted on

Answer: EF Core Relationship many tables with one with non using FK

To set up relationships in Entity Framework (EF) using the Fluent API, you need to understand that EF Core requires foreign key properties to establish relationships. However, since you have multiple entities referencing the same table using a non-foreign key field (Owner), you can achieve the desired result by configuring…

Top comments (0)