Click or drag to resize

IDatabase Methods

The IDatabase type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the database
Public methodCreateDocument
Creates a new IDocument with a unique ID
Public methodCreateIndex
Creates an ValueIndex index on the given path
Public methodDelete
Deletes the database
Public methodDeleteIndex
Deletes an index of the given IndexType on the given propertyPath
Public methodDispose (Inherited from IDisposable.)
Public methodDoAsync(Action)
Convenience method for asynchronously scheduling a job for this object
(Inherited from IThreadSafe.)
Public methodDoAsyncT(FuncT)
Convenience method for asynchronously scheduling a job for this object
(Inherited from IThreadSafe.)
Public methodDocumentExists
Checks if the IDocument with the given ID exists in the database
Public methodDoSync(Action)
Convenience method for scheduling and waiting for a job on this object's queue
(Inherited from IThreadSafe.)
Public methodDoSyncT(FuncT)
Convenience method for scheduling a job on this object's queue, waiting for it to finish and returning the result
(Inherited from IThreadSafe.)
Public methodGetDocument
Gets or creates an IDocument with the specified ID
Public methodInBatch
Runs the given batch of operations as an atomic unit
Top
See Also