C# Класс Clearwave.SqlDocDB.Client.Document.DocumentStore

Наследование: IDocumentStore
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
AssertValidConfiguration ( ) : void

validate the configuration for the document store

InitializeInternal ( ) : void

Initialize the document store access method to RavenDB

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

Метод Описание
AfterSessionCreated ( InMemoryDocumentSessionOperations session ) : void
AssertInitialized ( ) : void
EnsureNotClosed ( ) : void
UpdateLastWrittenEtag ( System.Guid etag ) : void

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

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

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

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

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

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

Initializes a new instance of the DocumentStore class.
public DocumentStore ( string connectionString ) : System
connectionString string
Результат System

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

Gets the etag of the last document written by any session belonging to this document store
public GetLastWrittenEtag ( ) : Guid?
Результат Guid?

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

public Initialize ( ) : IDocumentStore
Результат IDocumentStore

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

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

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

Opens the session.
public OpenSession ( ) : IDocumentSession
Результат IDocumentSession