Conversation
|
Thanks @cgalan12 |
|
I understand what you are trying to do, but will have to leave this here for now as it's not working for all databases. I will return to this once EF 7 (Core) is complete. |
|
This PR does the following: Fixes mapping table detection for composite keys (EF6) The old code assumed a mapping/junction table always has exactly 2 columns and 2 FK columns. This broke when the joined tables have composite primary keys (e.g. a many-to-many between two tables each with a 2-column PK would create a 4-column mapping table). Changes:
It's not merge-ready as-is — it edits the old |
This improve the handling of identification of mapping tables when include composite keys