如何:管理更改冲突How to: Manage Change Conflicts

LINQ to SQLLINQ to SQL提供了一个 Api 集合,可帮助你发现、评估和解决并发冲突。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
解释与 LINQ to SQLLINQ to SQL 中的开放式并发有关的一些术语。Explains the terms that apply to optimistic concurrency in LINQ to SQLLINQ to SQL.