Click or drag to resize

SavedRevision Class

A saved Couchbase Lite DocumentRevision.
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public sealed class SavedRevision : Revision

The SavedRevision type exposes the following members.

Properties
  NameDescription
Public propertyAttachmentNames
Gets the names of all the Attachments.
(Inherited from Revision.)
Public propertyAttachments
Gets all the Attachments.
(Inherited from Revision.)
Public propertyDatabase
Gets the Database that owns the Revision's Document.
(Inherited from Revision.)
Public propertyDocument
Gets the Document that this Revision belongs to.
(Inherited from Revision.)
Public propertyId
Gets the Revision's id.
(Overrides RevisionId.)
Public propertyIsDeletion
Sets if the Revision marks the deletion of its Document.
(Overrides RevisionIsDeletion.)
Public propertyIsGone
Does this revision mark the deletion or removal (from available channels) of its document? (In other words, does it have a "_deleted_ or "_removed" property?)
(Inherited from Revision.)
Public propertyParent
Gets the parent Revision.
(Overrides RevisionParent.)
Public propertyParentId
Gets the parent Revision's Id.
(Overrides RevisionParentId.)
Public propertyProperties
The contents of this revision of the document.
(Overrides RevisionProperties.)
Public propertyPropertiesAvailable
Gets whether the Revision's properties are available. Older, ancestor, Revisions are not guaranteed to have their properties available.
Public propertyRevisionHistory
Returns the history of this document as an array of Revisions, in forward order.
(Overrides RevisionRevisionHistory.)
Public propertyUserProperties
Gets the properties of the Revision. without any properties with keys prefixed with '_' (which contain Couchbase Lite data).
(Inherited from Revision.)
Top
Methods
  NameDescription
Public methodCreateRevision
Creates a new UnsavedRevision whose properties and attachments are initially identical to this one.
Public methodCreateRevision(IDictionaryString, Object)
Creates and saves a new Revision with the specified properties. To succeed the specified properties must include a '_rev' property whose value maches the current Revision's id.
Public methodDeleteDocument
Creates and saves a new deletion Revision for the associated Document.
Public methodEquals
Determines whether the specified Object is equal to the current Revision.
(Inherited from Revision.)
Public methodGetAttachment
Returns the Attachment with the specified name if it exists, otherwise null.
(Inherited from Revision.)
Public methodGetHashCode
Serves as a hash function for a Revision object.
(Inherited from Revision.)
Public methodGetProperty
Returns the value of the property with the specified key.
(Inherited from Revision.)
Public methodToString (Overrides RevisionToString.)
Top
See Also