ChangeConflictException in Linq to Sql

I get "String not found or exception thrown."

System.Data.Linq.ChangeConflictException: Row not found or changed. at
System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at
System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
at System.Data.Linq.DataContext.SubmitChanges()

How can I indicate which column throws an exception?

Thank.

+3
source share
1 answer

See How to Get Member Conflict Information (LINQ to SQL) if you just want the code to be sample code.

Linq2Sql concurrency. , UpdateCheck Column Linq2Sql Always ( ), Never WhenChanged, concurrency check . MSDN: concurrency (LINQ to SQL)

+2

All Articles