ConflictOption Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies how conflicting changes to the data source will be detected and resolved.

Namespace: System.Data
Assembly: System.Data (in

public enum ConflictOption
public enum ConflictOption
public enum ConflictOption

 Member nameDescription
Supported by the .NET Compact FrameworkCompareAllSearchableValuesUpdate and delete statements will include all searchable columns from the table in the WHERE clause. This is equivalent to specifying CompareAllValuesUpdate | CompareAllValuesDelete
Supported by the .NET Compact FrameworkCompareRowVersionIf any Timestamp columns exist in the table, they are used in the WHERE clause for all generated update statements. This is equivalent to specifying CompareRowVersionUpdate | CompareRowVersionDelete
Supported by the .NET Compact FrameworkOverwriteChangesAll update and delete statements include only PrimaryKey columns in the WHERE clause. If no PrimaryKey is defined, all searchable columns are included in the WHERE clause. This is equivalent to OverwriteChangesUpdate | OverwriteChangesDelete

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0