EF Core Data Seeding (HasData method on modelBuilder) not inserting data for Identity column

后端 未结 0 639
[愿得一人]
[愿得一人] 2020-12-20 04:21

I\'m calling the HasData method (see below) for an entity that has an Id (Identity) column, but no data is inserted into the table the first time the Migration runs.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题