Export (0) Print
Expand All
Expand Minimize

LoadOption Enumeration

Controls how the values from the data source will be applied to existing rows when using the Load or Load method.

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

public enum LoadOption

Member nameDescription
Supported by the XNA FrameworkOverwriteChangesThe incoming values for this row will be written to both the current value and the original value versions of the data for each column.
Supported by the XNA FrameworkPreserveChangesThe incoming values for this row will be written to the original value version of each column. The current version of the data in each column will not be changed. This is the default.
Supported by the XNA FrameworkUpsertThe incoming values for this row will be written to the current version of each column. The original version of each column's data will not be changed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft