Here's my table structure:
Person
PersonID int
Address
AddressId int
Address varchar
PersonAddress
PersonID int primary key references Person.PersonID
AddressID int primary key references Address.AddressID
As you can see there is no relation between Person
and Address
. When I add these 3 tables to EF 6.0, it does not add the PersonAddress
table but adds a relationship between Person
and Address
. I am deeply confused.