asp.net | 3.5 | c# | linq
I had an error "Cannot insert explicit value for identity column."
I had my primary column set to be an identity column. I didn't know how to trace my error because everything was correct. But, sometimes when table definition changed and may have created diagram before the column was designated to be the identity column an error occurs. In this case, you delete the table and readd the table on to your dbml/diagram [Linq to SQL Classes].
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment