Entity Framework Reverse Engineering Code First: missing the foreign key relationships in the generated code

后端 未结 1 480
日久生厌
日久生厌 2021-01-24 11:28

I try to use EF Reverse Engineer Code First to generate code from a Database,
However, the auto-generated code missed some foreign key relations.
What could be the reaso

相关标签:
1条回答
  • 2021-01-24 12:06

    This is a bug in the designer, that I fixed here https://entityframework.codeplex.com/workitem/667 You can download the EF Tools version 6.1.2 or later, which contains the fix. See blogpost on the ADO.NET blog for download links

    0 讨论(0)
提交回复
热议问题