In EF Core 5, I have entity with a many to many relation with another table. How can I insert a parent entity by setting only the foreigns keys IDs?

后端 未结 0 1640
感情败类
感情败类 2021-01-11 10:33

The other table contain references data with well know ID. The use case is to read data from file, create entities then insert them in batch. I don\'t need to query anything

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