C# Class Raven.Client.Document.DocumentStore

Manages access to RavenDB and open sessions to work with RavenDB.
Inheritance: DocumentStoreBase
Mostra file Open project: markrendle/ravendb Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
DocumentStore ( ) : System
Initialize ( ) : IDocumentStore
OpenAsyncSession ( ) : IAsyncDocumentSession
OpenSession ( ) : IDocumentSession
OpenSession ( ICredentials credentialsForSession ) : IDocumentSession
RegisterListener ( IDocumentDeleteListener deleteListener ) : IDocumentStore
RegisterListener ( IDocumentStoreListener documentStoreListener ) : IDocumentStore

Private Methods

Method Description
OnSessionStored ( object entity ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DocumentStore() public method

public DocumentStore ( ) : System
return System

Initialize() public method

public Initialize ( ) : IDocumentStore
return IDocumentStore

OpenAsyncSession() public method

public OpenAsyncSession ( ) : IAsyncDocumentSession
return IAsyncDocumentSession

OpenSession() public method

public OpenSession ( ) : IDocumentSession
return IDocumentSession

OpenSession() public method

public OpenSession ( ICredentials credentialsForSession ) : IDocumentSession
credentialsForSession ICredentials
return IDocumentSession

RegisterListener() public method

public RegisterListener ( IDocumentDeleteListener deleteListener ) : IDocumentStore
deleteListener IDocumentDeleteListener
return IDocumentStore

RegisterListener() public method

public RegisterListener ( IDocumentStoreListener documentStoreListener ) : IDocumentStore
documentStoreListener IDocumentStoreListener
return IDocumentStore