ConflictResolutionPolicy Enumeration |
Specifies how conflicts should be resolved.
Namespace: Oracle.Cloud.Mobile.SynchronizationAssemblies: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic enum ConflictResolutionPolicy
Public Enumeration ConflictResolutionPolicy
public enum class ConflictResolutionPolicy
type ConflictResolutionPolicy
Members
| Member name | Value | Description |
---|
| ClientWins | 0 |
The client's changes are always chosen as the winner. This results in last writer wins semantics.
|
| PreserveConflict | 1 |
Both the client and conflicting server copies are preserved locally on the device. The developer
can implement custom logic for resolving the conflict.
|
| ServerWins | 2 |
The server's changes are always chosen as the winner. This results in first writer wins semantics.
|
See Also