RefreshMode Enumeration

RefreshMode Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines how the Refresh method handles optimistic concurrency conflicts.

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

No code example is currently available or this language may not be supported.

Member nameDescription
KeepCurrentValuesForces the Refresh method to swap the original value with the values retrieved from the database. No current value is modified.
KeepChangesForces the Refresh method to keep the current value that has been changed, but updates the other values with the database values.
OverwriteCurrentValuesForces the Refresh method to override all the current values with the values from the database.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft