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 | |
---|---|---|
KeepCurrentValues | Forces the Refresh method to swap the original value with the values retrieved from the database. No current value is modified. | |
KeepChanges | Forces the Refresh method to keep the current value that has been changed, but updates the other values with the database values. | |
OverwriteCurrentValues | Forces the Refresh method to override all the current values with the values from the database. |
Remarks
This enumeration applies to all Refresh overloads.
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.