Share via


RefreshMode Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines how the Refresh method handles optimistic concurrency conflicts.

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

Syntax

'Declaration
Public Enumeration RefreshMode
public enum RefreshMode

Members

Member name Description
Supported by Silverlight for Windows Phone KeepCurrentValues Forces the Refresh method to swap the original value with the values retrieved from the database. No current value is modified.
Supported by Silverlight for Windows Phone KeepChanges Forces the Refresh method to keep the current value that has been changed, but updates the other values with the database values.
Supported by Silverlight for Windows Phone OverwriteCurrentValues Forces the Refresh method to override all the current values with the values from the database.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference