IDatabase Methods |
The IDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Closes the database
| |
| CreateDocument |
Creates a new IDocument with a unique ID
| |
| CreateIndex |
Creates an ValueIndex index on the given path
| |
| Delete |
Deletes the database
| |
| DeleteIndex |
Deletes an index of the given IndexType on the given propertyPath
| |
| Dispose | (Inherited from IDisposable.) | |
| DoAsync(Action) |
Convenience method for asynchronously scheduling a job for this
object
(Inherited from IThreadSafe.) | |
| DoAsyncT(FuncT) |
Convenience method for asynchronously scheduling a job for this
object
(Inherited from IThreadSafe.) | |
| DocumentExists |
Checks if the IDocument with the given ID exists in the database
| |
| DoSync(Action) |
Convenience method for scheduling and waiting for a job
on this object's queue
(Inherited from IThreadSafe.) | |
| DoSyncT(FuncT) |
Convenience method for scheduling a job on this object's queue,
waiting for it to finish and returning the result
(Inherited from IThreadSafe.) | |
| GetDocument |
Gets or creates an IDocument with the specified ID
| |
| InBatch |
Runs the given batch of operations as an atomic unit
|