Friday, May 30, 2014

Unable to update the EntitySet


If you have issue when save or update data to database, and you use LINQ or EF

Stack Trace :
”Unable to update the EntitySet 'tblName' because it has a DefiningQuery and no <InsertFunction”


Solution =
Please check your table in database, and make sure you have primary key in that table.