ObjectChangeConflict::Resolve Method (RefreshMode)

 

Resolves member conflicts by using the specified RefreshMode.

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

public:
void Resolve(
	RefreshMode refreshMode
)

Parameters

refreshMode
Type: System.Data.Linq::RefreshMode

The appropriate option from RefreshMode.

The following examples show what results are produced by using the various values for RefreshMode.

The following example overwrites current values with values from the database.

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

The following example shows how to swap the original value with the values retrieved from the dtabase. No current value is modified.

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

The following example keeps the current values that have been changed, but updates the other values with database values.

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

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: