Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Database Class
Database Methods
AddDocumentChangedListener Method
Close Method
Compact Method
Contains Method
CreateIndex Method
Delete Method
DeleteIndex Method
Dispose Method
DocumentExists Method
Exists Method
Finalize Method
GetDocument Method
InBatch Method
Purge Method
RemoveDocumentChangedListener Method
Save Method
Database
Save Method
Saves the given
Document
into this database
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
Copy
public
void
Save
(
Document
document
)
Parameters
document
Type:
Couchbase.Lite
Document
The document to save
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