C# Класс Raven.Client.Embedded.EmbeddableDocumentStore

Manages access to RavenDB and open sessions to work with RavenDB. Also supports hosting RavenDB in an embedded mode
Наследование: Raven.Client.Document.DocumentStore
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
EmbeddableDocumentStore ( ) : System

Описание методов

AssertValidConfiguration() защищенный Метод

validate the configuration for the document store
protected AssertValidConfiguration ( ) : void
Результат void

Changes() публичный Метод

Subscribe to change notifications from the server
public Changes ( string database = null ) : IDatabaseChanges
database string
Результат IDatabaseChanges

CreateDatabaseChanges() защищенный Метод

Creates embeddable instance of document changes
protected CreateDatabaseChanges ( string database ) : IDatabaseChanges
database string Database name is ignored in embeddable document store
Результат IDatabaseChanges

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

GetConnectionStringOptions() защищенный Метод

Create the connection string parser
protected GetConnectionStringOptions ( ) : RavenConnectionStringOptions
Результат RavenConnectionStringOptions

InitializeInternal() защищенный Метод

Initialize the document store access method to RavenDB
protected InitializeInternal ( ) : void
Результат void

SetConnectionStringSettings() защищенный Метод

Copy the relevant connection string settings
protected SetConnectionStringSettings ( RavenConnectionStringOptions options ) : void
options RavenConnectionStringOptions
Результат void

SetStudioConfigToAllowSingleDb() публичный Метод

Let the studio knows that it shouldn't display the warning about sys db access
public SetStudioConfigToAllowSingleDb ( ) : void
Результат void