HOW TO:管理變更衝突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
描述如何將成員加上屬性 (Attribute),以指定是否要檢查這些屬性是否發生並行存取衝突。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 中開放式並行存取 (Optimistic Concurrency) 的詞彙。Explains the terms that apply to optimistic concurrency in LINQ to SQLLINQ to SQL.