C# 클래스 WorldDomination.Raven.Client.DocumentStoreExtensions

파일 보기 프로젝트 열기: PureKrome/WorldDomination.RavenDb

공개 메소드들

메소드 설명
AssertDocumentStoreErrors ( this documentStore, bool areDocumentStoreErrorsTreatedAsWarnings = false ) : void

Asserts if the document store has any errors.

InitializeWithDefaultsAsync ( this documentStore, IEnumerable seedData = null, ICollection indexesToExecute = null, ICollection assembliesToScanForIndexes = null, bool areDocumentStoreErrorsTreatedAsWarnings = false ) : Task

Initialized this instance but with some optional settings, like seed data and indexes.

비공개 메소드들

메소드 설명
CreateIndexes ( ICollection indexesToExecute, ICollection assembliesToScanForIndexes, IDocumentStore documentStore ) : void
CreateSeedDataAsync ( IEnumerable seedData, IDocumentStore documentStore ) : Task
ReportOnInitializedStatistics ( IDocumentStore documentStore ) : void
WaitForStaleIndexesToComplete ( this documentStore ) : void

메소드 상세

AssertDocumentStoreErrors() 공개 정적인 메소드

Asserts if the document store has any errors.
public static AssertDocumentStoreErrors ( this documentStore, bool areDocumentStoreErrorsTreatedAsWarnings = false ) : void
documentStore this The Raven document store.
areDocumentStoreErrorsTreatedAsWarnings bool Optional: If there are any server errors, do we downgrade them as warnings or keep them as errors, which stops further processing of the document store.
리턴 void

InitializeWithDefaultsAsync() 공개 정적인 메소드

Initialized this instance but with some optional settings, like seed data and indexes.
public static InitializeWithDefaultsAsync ( this documentStore, IEnumerable seedData = null, ICollection indexesToExecute = null, ICollection assembliesToScanForIndexes = null, bool areDocumentStoreErrorsTreatedAsWarnings = false ) : Task
documentStore this The Raven document store.
seedData IEnumerable Optional: A collection of data which will be 'seeded' into the new document store.
indexesToExecute ICollection Optional: Any index(es) which should be executed during initialization. They need to be assignable from an AbstractIndexCreationTask.
assembliesToScanForIndexes ICollection Optional: The assembly where the index(es) are located.
areDocumentStoreErrorsTreatedAsWarnings bool Optional: If there are any server errors, do we downgrade them as warnings or keep them as errors, which stops further processing of the document store.
리턴 Task