description | title | ms.date | dev_langs | ms.assetid | ||
---|---|---|---|---|---|---|
Learn more about: How to: Detect and Resolve Conflicting Submissions |
How to: Detect and Resolve Conflicting Submissions |
03/30/2017 |
|
91e27206-01fb-4c7a-8afc-1383a6ac5067 |
[!INCLUDEvbtecdlinq] 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.
The following example shows a try
/catch
block that catches a xref:System.Data.Linq.ChangeConflictException exception. Entity and member information for each conflict is displayed in the console window.
Note
You must include the using System.Reflection
directive (Imports System.Reflection
in Visual Basic) to support the information retrieval. For more information, see xref:System.Reflection.
[!code-csharpDLinqSubmittingChanges#2] [!code-vbDLinqSubmittingChanges#2]