An Entity Framework error with visual stdio 2010
Problem:
1- update EF after update Data base
2- try to insert data from asp.net page more than one in to table which its primary key is identity (auto incremental )
A- first one insert correctly
B- second one throw this exception (exception source is "System.Data.Entity")
Solution
just regenerate the .edmx file (delete old file and generate new one) :)
Problem:
1- update EF after update Data base
2- try to insert data from asp.net page more than one in to table which its primary key is identity (auto incremental )
A- first one insert correctly
B- second one throw this exception (exception source is "System.Data.Entity")
Solution
just regenerate the .edmx file (delete old file and generate new one) :)