Entity Framework and multiple relationships between two tables
Here is a scenario – I have two tables – Users and Phones. Users table has two columns that relate to Phones table – PrimaryPhone and SecondaryPhone. If you build an EF model with these two tables, you will end up with Users entity with two navigation properties that relate to Phones entity – Phones …
Continue reading ‘Entity Framework and multiple relationships between two tables’ »