[SqlServer] when generating table, we should generate PKs first and FKs last (just like in EF6) - at the moment it is all in alphabetical order #412
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-unknown
Milestone
I noticed that for models generated with EF7 the table view in SSMS is slightly different than it was in EF6. We used to create something like this:
Id (PK, int, not null)
Color (int, not null)
isLinked (bit, not null)
Item_Id (FK, int, not null)
with EF7 we generate:
Color (int, not null)
Id (PK, int, not null)
Item_Id (FK, int, not null)
isLinked (bit, not null)
We should consider following the old behaviour.
The text was updated successfully, but these errors were encountered: