原文:The instance of entity type 'XXX' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked

EF Core 修改实例报错: System.InvalidOperationException: The instance of entity type ProductInfo cannot be tracked because another instance with the same key value for Id is already being tracked. When attac ...

2020-03-17 15:42 0 846 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM