Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Many-to-Many relationship (with itself) #6052
Steps to reproduce
Fluent api configurations:
Many to many relationship modelling with itself, socket <-> socket
Further technical details
EF Core version: RTM
Other details about my project setup:
Exception is quite clear, however this approach didn't cause exception on the RC2 and created following table:
May I ask how I can achieve similar results with RTM?
It did not throw exception in RC2 because, EF core was using last one wins approach but that could cause the model to be a lot different from what is expected by user. See #5540 and discussion in the corresponding issue.