-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse engineer many to many navigations with EF Core 6 #501
Comments
May I ask a question? I am getting ready to reverse engineer a slightly complex SQLServer database that has about a dozen join-tables for many-to-many relationships. Will 'EFCPT-ReverseEngineer' know how to reverse these into the proper navigational properties on their respective entities? Also, is there a naming convention I need to follow for the join-tables themselves? I think right now, they are named using the convention of "TableOnLeftSide_TableOnRightSide". |
@REMjn832 This feature is not implemented yet. Currently entities for your join tables will also be generated. |
Thanks for the quick response @ErikEJ. Ok, I will set those up manually. |
You can do it in a partial class based on the generated DbContext |
This will happen for EF Core 6 RC1 |
Correction: RC 2, actually (RC 1 was buggy) |
Fixed using daily builds. |
see dotnet/efcore#22475
The text was updated successfully, but these errors were encountered: