I want to create Many-To-Many
relationship which allowing me duplicated relations, like this:
A | B
-----
1 | a
1 | a
2 | b
2 | b
etc
But EF create mapping table like this:
AB:
- AId: PK, FK
- BId: PK, FK
and this doesn't allow duplicated relations.
How I create mapping table like this:
AB:
- Id, PK
- AId: FK
- BId: FK