SyncOptions.DiscardLocalChanges Property

Definition

An indication to discard local changes on the model, if exists, as part of synchronizing it.

public bool DiscardLocalChanges { get; set; }

Property Value

True, if existing local changes are discarded; otherwise, false.

Remarks

The default behavior is that existence of local changes prevents the synchronization operation and cause an error.

Applies to