[Error]The instance of entity type 'TableName' cannot be tracked 해결방안

Soonyoung Kim·2022년 3월 24일
0

🆓오늘의 EF-Core

목록 보기
6/6
post-thumbnail
  • 에러

System.InvalidOperationException: The instance of entity type 'Volume' 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 entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.

profile
Sin prisa, sin pausa.

0개의 댓글