ApathyErr
✅ WPF. Instance with the same key value for {'Id'} is already being tracked
As soon as I overwritten the database so that the id was not empty, the code started working. But because my program displayed records with Completed = 1, and I created records where Completed = 0, so I thought they were not being created
87 replies
✅ WPF. Instance with the same key value for {'Id'} is already being tracked
I added the auto-generation id, but did not update the context in the program itself. Now I have done it and it has removed this error, but new records are still not saved.
87 replies