Emre
Emre
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
hahah thanks
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
i think i understand what you mean now
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
that wouldn't be optimal in my case. Because there can be hundreds of workitems per project
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
I added the no tracking in order to bypass my error. Which also didn't work
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
I read alittle about entity framework tracking. So I guess its tracking the workitem while trying to update the fields for that same workitemId
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ 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
CC#
Created by Emre on 10/7/2023 in #help
❔ 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
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
@Brainiac V
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
can you tell me what im doing wrong
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
I usually work with TSQL so i didnt really learn it really
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
Im a beginner in entityframework
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ 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