This documentation is archived and is not being maintained.

How to: Detect and Resolve Conflicting Submissions (LINQ to SQL)

LINQ to SQL provides many resources for detecting and resolving conflicts that stem from multi-user changes to the database. For more information, see How to: Manage Change Conflicts (LINQ to SQL).

The following example shows a try/catch block that catches a ChangeConflictException exception. Entity and member information for each conflict is displayed in the console window.

NoteNote

You must include the using System.Reflection directive (Imports System.Reflection in Visual Basic) to support the information retrieval. For more information, see System.Reflection.

No code example is currently available or this language may not be supported.
Show: