Cannot add an entity with a key that is already in use
Rashmi
1068
Points
19
Posts
|
I'm trying to save data with linq to class. I'm getting following error at line _dbContext.SubmitChanges();:
Following source code:
check on db if you have added "Identity Specification" (auto-increment). If not, it may be the reason of failure. - beginer 27-Nov-2018 07:37
|
Answers