© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
20 replies
Nauvran

❔ Ef tracking issue

I'm getting a "instance of entity cannot be tracked because another instance with the key value {productNo:10492} is already being tracked}"
I have asNoTracking on my dB call, I've tried to detach all entities but there are none
I've tried to remove as many relationships with the productNo as I can and nothing works
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

EF Core - Tracking problems while updating
C#CC# / help
3y ago
✅ EF PendingModelChanges Issue
C#CC# / help
15mo ago
✅ EF: how to structure same EF select query with no tracking?
C#CC# / help
2y ago
✅ EF Core doesn't stop tracking list items.
C#CC# / help
15mo ago