Disable associations when a foreign key do not exist
问题 I've created an edmx for my database. In it Entity framework removed a table and instead created an association between two tables because it matches a column name with the primary key in the other table. I do not want that as there is no real association between those tables. How can I remove that association and get a class for the middle table instead? Example: SomeTable Id int pk MiddleTable SomeTableId int fk SomeCode int OtherTable SomeCode int pk It's the MiddleTable which do not get a