C# Class Clearwave.SqlDocDB.Client.Document.DocumentStore

Inheritance: IDocumentStore
Afficher le fichier Open project: clearwavebuild/SqlDocDB Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

DocumentStore ( string connectionString ) : System

Initializes a new instance of the DocumentStore class.

GetLastWrittenEtag ( ) : Guid?

Gets the etag of the last document written by any session belonging to this document store

Initialize ( ) : IDocumentStore
OpenSession ( ) : IDocumentSession

Opens the session.

Méthodes protégées

Méthode Description
AssertValidConfiguration ( ) : void

validate the configuration for the document store

InitializeInternal ( ) : void

Initialize the document store access method to RavenDB

Private Methods

Méthode Description
AfterSessionCreated ( InMemoryDocumentSessionOperations session ) : void
AssertInitialized ( ) : void
EnsureNotClosed ( ) : void
UpdateLastWrittenEtag ( System.Guid etag ) : void

Method Details

AssertValidConfiguration() protected méthode

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

Dispose() public méthode

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

DocumentStore() public méthode

Initializes a new instance of the DocumentStore class.
public DocumentStore ( string connectionString ) : System
connectionString string
Résultat System

GetLastWrittenEtag() public méthode

Gets the etag of the last document written by any session belonging to this document store
public GetLastWrittenEtag ( ) : Guid?
Résultat Guid?

Initialize() public méthode

public Initialize ( ) : IDocumentStore
Résultat IDocumentStore

InitializeInternal() protected méthode

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

OpenSession() public méthode

Opens the session.
public OpenSession ( ) : IDocumentSession
Résultat IDocumentSession