Friday, July 29, 2011

Cannot insert explicit value for identity column in table ‘x' when IDENTITY_INSERT is set to OFF

Almost all the solution suggests to modify the Id column for that error to set IsDbGenerated=true. But I have some other problems. I have to delete my dbml and therefore regenerate to solve this. Another big bug of linq.

No comments:

Post a Comment