Click or drag to resize

ConcurrencyControl Enumeration

Specifies the way that the library should behave when it encounters a situation when the database has been altered since the last read (e.g. a local operation read a document, modified it, and while it was being modified a replication committed a change to the document, and then the local document was saved after that)

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public enum ConcurrencyControl
Members
  Member nameValueDescription
LastWriteWins0 Disregard the version that was received out of band and force this version to be current
FailOnConflict1 Throw an exception to indicate the situation so that the latest data can be read again from the local database
See Also