Emre
❔ Entity framework, tracking same Id multiple times. Need help
I cant have multiple workitems with same id because these are fetched from azure devops which is always incremented automatically. It must be something with my existingWorkItem when i query the database
44 replies
❔ Entity framework, tracking same Id multiple times. Need help
I always find it hard to go through general tutorials. I try to watch some videos to get a general understanding and once I get stuck, i learn by solving them. If you have any tutorial that fits my scenario more specifically id appreciate if you could send it
44 replies
❔ Entity framework, tracking same Id multiple times. Need help
getting following error:
Could not insert Azure DevOps projects and work items into the database. Exception: The instance of entity type 'WorkItem' cannot be tracked because another instance with the same key value for {'WorkItemId'} 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.
44 replies