Regression? Foreign key properties now based on type name rather than property name #3503
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
I have an entity class with the following properties:
In beta7, the column names generated were
TailContourId
,NoseContourId
andMidContourId
. That's perfect and exactly what it should be. I've had to make some changes and in the process have dumped my old migrations from beta 7 and created new ones with beta 8. The new migrations generated by beta 8 now look like this though:This is less than ideal. Why the change?
Edit
I just added
[Column("TailContourId")]
and so forth to each property and it had no effect on the generated migration code.Edit
Looks like adding
ForeignKey
in place ofColumn
does the trick. Original question still stands though.The text was updated successfully, but these errors were encountered: