Редагувати

Поділитися через


How to: Manage Change Conflicts

LINQ to SQL provides a collection of APIs to help you discover, evaluate, and resolve concurrency conflicts.

In This Section

How to: Detect and Resolve Conflicting Submissions
Describes how to detect and resolve concurrency conflicts.

How to: Specify When Concurrency Exceptions are Thrown
Describes how to specify when you should be informed of concurrency conflicts.

How to: Specify Which Members are Tested for Concurrency Conflicts
Describes how to attribute members to specify whether they are checked for concurrency conflicts.

How to: Retrieve Entity Conflict Information
Describes how to gather information about entity conflicts.

How to: Retrieve Member Conflict Information
Describes how to gather information about member conflicts.

How to: Resolve Conflicts by Retaining Database Values
Describes how to overwrite current values with database values.

How to: Resolve Conflicts by Overwriting Database Values
Describes how to keep current values by overwriting database values.

How to: Resolve Conflicts by Merging with Database Values
Describes how to resolve a conflict by merging database and current values.

Optimistic Concurrency: Overview
Explains the terms that apply to optimistic concurrency in LINQ to SQL.