แก้ไข

แชร์ผ่าน


ChangeConflictCollection.ResolveAll Method

Definition

Resolves all conflicts in the collection.

Overloads

ResolveAll(RefreshMode)

Resolves all conflicts in the collection by using the specified strategy.

ResolveAll(RefreshMode, Boolean)

Resolves all conflicts in the collection by using the specified strategy.

ResolveAll(RefreshMode)

Resolves all conflicts in the collection by using the specified strategy.

public:
 void ResolveAll(System::Data::Linq::RefreshMode mode);
public void ResolveAll (System.Data.Linq.RefreshMode mode);
member this.ResolveAll : System.Data.Linq.RefreshMode -> unit
Public Sub ResolveAll (mode As RefreshMode)

Parameters

mode
RefreshMode

One of the options available in RefreshMode.

Applies to

ResolveAll(RefreshMode, Boolean)

Resolves all conflicts in the collection by using the specified strategy.

public:
 void ResolveAll(System::Data::Linq::RefreshMode mode, bool autoResolveDeletes);
public void ResolveAll (System.Data.Linq.RefreshMode mode, bool autoResolveDeletes);
member this.ResolveAll : System.Data.Linq.RefreshMode * bool -> unit
Public Sub ResolveAll (mode As RefreshMode, autoResolveDeletes As Boolean)

Parameters

mode
RefreshMode

The strategy to use to resolve the conflict.

autoResolveDeletes
Boolean

If true, automatically resolves conflicts that result from a modified object that is no longer in the database.

Applies to