Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Database Class
Database Methods
AddDocumentChangedListener Method
Close Method
Compact Method
Contains Method
Copy Method
CreateIndex Method
Delete Method
DeleteIndex Method
Dispose Method
Exists Method
Finalize Method
GetDocument Method
GetIndexes Method
InBatch Method
Purge Method
RemoveDocumentChangedListener Method
Save Method
SetEncryptionKey Method
SetLogLevel Method
Database
.
Save Method
Saves the given
MutableDocument
into this database
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
Copy
public
Document
Save
(
MutableDocument
document
)
Parameters
document
Type:
Couchbase.Lite
.
MutableDocument
The document to save
Return Value
Type:
Document
The document that was created as the new revision
Exceptions
Exception
Condition
InvalidOperationException
Thrown when trying to save a document into a database other than the one it was previously added to
See Also
Reference
Database Class
Couchbase.Lite Namespace