C# Class Raven.Client.Embedded.EmbeddableDocumentStore

Manages access to RavenDB and open sessions to work with RavenDB. Also supports hosting RavenDB in an embedded mode
Inheritance: Raven.Client.Document.DocumentStore
Datei anzeigen Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
Changes ( string database = null ) : IDatabaseChanges

Subscribe to change notifications from the server

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

SetStudioConfigToAllowSingleDb ( ) : void

Let the studio knows that it shouldn't display the warning about sys db access

Protected Methods

Method Description
AssertValidConfiguration ( ) : void

validate the configuration for the document store

CreateDatabaseChanges ( string database ) : IDatabaseChanges

Creates embeddable instance of document changes

GetConnectionStringOptions ( ) : RavenConnectionStringOptions

Create the connection string parser

InitializeInternal ( ) : void

Initialize the document store access method to RavenDB

SetConnectionStringSettings ( RavenConnectionStringOptions options ) : void

Copy the relevant connection string settings

Private Methods

Method Description
EmbeddableDocumentStore ( ) : System

Method Details

AssertValidConfiguration() protected method

validate the configuration for the document store
protected AssertValidConfiguration ( ) : void
return void

Changes() public method

Subscribe to change notifications from the server
public Changes ( string database = null ) : IDatabaseChanges
database string
return IDatabaseChanges

CreateDatabaseChanges() protected method

Creates embeddable instance of document changes
protected CreateDatabaseChanges ( string database ) : IDatabaseChanges
database string Database name is ignored in embeddable document store
return IDatabaseChanges

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetConnectionStringOptions() protected method

Create the connection string parser
protected GetConnectionStringOptions ( ) : RavenConnectionStringOptions
return RavenConnectionStringOptions

InitializeInternal() protected method

Initialize the document store access method to RavenDB
protected InitializeInternal ( ) : void
return void

SetConnectionStringSettings() protected method

Copy the relevant connection string settings
protected SetConnectionStringSettings ( RavenConnectionStringOptions options ) : void
options RavenConnectionStringOptions
return void

SetStudioConfigToAllowSingleDb() public method

Let the studio knows that it shouldn't display the warning about sys db access
public SetStudioConfigToAllowSingleDb ( ) : void
return void