SQLite foreign key constraint failed using EF Core to add to child collection

后端 未结 0 890
挽巷
挽巷 2020-12-31 14:36

An order is already inserted in the SQLite database using EF Core. Trying to add an order detail to that order as below, SaveChanges throws an exception

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