Kamis, 31 Oktober 2013

ASP.Net, C#, SQL Server Information

ASP.Net, C#, SQL Server Information

Link to ASP.Net, C#, SQL, JQuery, Sharepoint

Entity Framework errors: An error occurred while updating the entries.

Posted: 30 Oct 2013 08:29 AM PDT

Multiple situation where Entity Framework was giving me problem while adding new record, updating record or deleting.  Then here are few things which may go wrong: Solution 1. Check whether Database Table has Proper primary key setup. Solution 2. Check your DB table and POCO Model class is in sync.  If you have some extra properties which you have to use in POCO class but doesn't need in DB