The instance of entity type ‘XXX‘ cannot be tracked because another instance with the same key value
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 attaching existing entities, ensure that only one enti
原创
2020-08-06 10:46:29 ·
7351 阅读 ·
0 评论