Database Methods |
The Database type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Closes the database
| |
| CreateIndex(IListIExpression) |
Creates an ValueIndex index on the given path
| |
| CreateIndex(IList, IndexType, IndexOptions) |
Creates an index of the given type on the given path with the given options
| |
| CreateReplication(Uri) |
Creates a replication with the giveb remote URL
| |
| CreateReplication(Database) |
Creates a replication with another local database
| |
| Delete |
Deletes the database
| |
| Delete(Document) |
Deletes the given Document from the database
| |
| Delete(String, String) |
Deletes the contents of a database with the given name in the
given directory
| |
| DeleteIndex |
Deletes an index of the given IndexType on the given propertyPath
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| DocumentExists |
Checks whether a document with the given ID exists in the database
| |
| Equals | (Inherited from Object.) | |
| Exists |
Returns whether or not a database with the given name
exists in the given directory
| |
| Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
| GetDocument |
Gets the Document with the specified ID
| |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| InBatch |
Runs the given batch of operations as an atomic unit
| |
| Purge |
Purges the given Document from the database. This leaves
no trace behind and will not be replicated
| |
| Save |
Saves the given Document into this database
| |
| ToString | (Inherited from Object.) |