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

Inheritance: IDocumentStore
显示文件 Open project: clearwavebuild/SqlDocDB Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
AssertValidConfiguration ( ) : void

validate the configuration for the document store

InitializeInternal ( ) : void

Initialize the document store access method to RavenDB

Private Methods

Method Description
AfterSessionCreated ( InMemoryDocumentSessionOperations session ) : void
AssertInitialized ( ) : void
EnsureNotClosed ( ) : void
UpdateLastWrittenEtag ( System.Guid etag ) : void

Method Details

AssertValidConfiguration() protected method

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

Dispose() public method

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

DocumentStore() public method

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

GetLastWrittenEtag() public method

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

Initialize() public method

public Initialize ( ) : IDocumentStore
return IDocumentStore

InitializeInternal() protected method

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

OpenSession() public method

Opens the session.
public OpenSession ( ) : IDocumentSession
return IDocumentSession