UnsavedRevision Class |
Namespace: Couchbase.Lite
public class UnsavedRevision : Revision, IDisposable
The UnsavedRevision type exposes the following members.
Name | Description | |
---|---|---|
AttachmentNames |
Gets the names of all the Attachments.
(Inherited from Revision.) | |
Attachments |
Gets all the Attachments.
(Inherited from Revision.) | |
Database | (Inherited from Revision.) | |
Document | (Inherited from Revision.) | |
Id | Gets the Revision's id. (Overrides RevisionId.) | |
IsDeletion | ||
IsGone |
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.) | |
Parent |
Gets the parent Revision.
(Overrides RevisionParent.) | |
ParentId |
Gets the parent Revision's Id.
(Overrides RevisionParentId.) | |
Properties |
Gets the properties of the Revision.
(Overrides RevisionProperties.) | |
RevisionHistory | Returns the history of this document as an array of Revisions, in forward order. (Overrides RevisionRevisionHistory.) | |
UserProperties |
Gets the properties of the Revision.
without any properties with keys prefixed with '_' (which contain Couchbase Lite data).
(Inherited from Revision.) |
Name | Description | |
---|---|---|
Dispose |
Releases all resource used by the UnsavedRevision object.
| |
Equals | (Inherited from Revision.) | |
GetAttachment |
Returns the Attachment with the specified name if it exists, otherwise null.
(Inherited from Revision.) | |
GetHashCode |
Serves as a hash function for a Revision object.
(Inherited from Revision.) | |
GetProperty |
Returns the value of the property with the specified key.
(Inherited from Revision.) | |
RemoveAttachment |
Removes the Attachment
with the given name.
| |
Save | ||
Save(Boolean) |
Saves the UnsavedRevision, optionally allowing
the save when there is a conflict.
| |
SetAttachment(String, String, IEnumerableByte) |
Sets the attachment with the given name.
| |
SetAttachment(String, String, Stream) |
Sets the attachment with the given name.
| |
SetAttachment(String, String, Uri) |
Sets the attachment with the given name.
| |
SetProperties |
Sets the properties of the Revision.
| |
SetUserProperties |
Gets or sets the userProperties of the Revision.
| |
ToString | (Overrides RevisionToString.) |