ConflictOption 列舉

定義

指定資料來源的變更衝突將如何偵測及解決。

public enum class ConflictOption
public enum ConflictOption
type ConflictOption = 
Public Enum ConflictOption
繼承
ConflictOption

欄位

CompareAllSearchableValues 1

更新及刪除陳述式將包括 WHERE 子句的資料表中所有可搜尋的資料行。 這相當於指定 CompareAllValuesUpdate | CompareAllValuesDelete

CompareRowVersion 2

如果資料表中有任何時間戳記資料行,它們是用在所有已產生之更新陳述式的 WHERE 子句中。 這相當於指定 CompareRowVersionUpdate | CompareRowVersionDelete

OverwriteChanges 3

所有更新和刪除陳述式在 WHERE 子句中都只包含 PrimaryKey 資料行。 如果沒有定義 PrimaryKey,則將可搜尋的資料行包含在 WHERE 子句中。 這相當於 OverwriteChangesUpdate | OverwriteChangesDelete

適用於