Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.45 KB

how-to-detect-and-resolve-conflicting-submissions.md

File metadata and controls

27 lines (20 loc) · 1.45 KB
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
csharp
vb
91e27206-01fb-4c7a-8afc-1383a6ac5067

How to: Detect and Resolve Conflicting Submissions

[!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.

Example

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]

See also