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
Afficher le fichier Open project: robashton/ravendb Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
EmbeddableDocumentStore ( ) : System

Method Details

AssertValidConfiguration() protected méthode

validate the configuration for the document store
protected AssertValidConfiguration ( ) : void
Résultat void

Changes() public méthode

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

CreateDatabaseChanges() protected méthode

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

Dispose() public méthode

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

GetConnectionStringOptions() protected méthode

Create the connection string parser
protected GetConnectionStringOptions ( ) : RavenConnectionStringOptions
Résultat RavenConnectionStringOptions

InitializeInternal() protected méthode

Initialize the document store access method to RavenDB
protected InitializeInternal ( ) : void
Résultat void

SetConnectionStringSettings() protected méthode

Copy the relevant connection string settings
protected SetConnectionStringSettings ( RavenConnectionStringOptions options ) : void
options RavenConnectionStringOptions
Résultat void

SetStudioConfigToAllowSingleDb() public méthode

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