ChangeConflictException in Linq to Sql update

后端 未结 4 637
感动是毒
感动是毒 2020-12-14 19:57

I\'m in a world of pain with this one, and I\'d very much appreciate it if someone could help out.

I have a DataContext attached to a single test table on a database

4条回答
  •  误落风尘
    2020-12-14 20:19

    First log details about the problem, what row and what field is in conflict and what values are in conflict.

    To implement such detail log, see my solution here:

    What can I do to resolve a "Row not found or changed" Exception in LINQ to SQL on a SQL Server Compact Edition Database?

提交回复
热议问题