C# 클래스 vlko.core.RavenDB.Repository.SessionFactory

Session factory inspired by Scopes in Castle.ActiveRecord.
파일 보기 프로젝트 열기: vlko/vlko

공개 프로퍼티들

프로퍼티 타입 설명
KeyGenerator Raven.Client.Document.MultiTypeHiLoKeyGenerator

Private Properties

프로퍼티 타입 설명
ClearStackInfo void
CommitTransaction void
GetRegisteredSession IDocumentSession
RegisterTransaction void
RegisterUnitOfWork void
RollbackTransaction void
UnregisterTransaction void
UnregisterUnitOfWork void

공개 메소드들

메소드 설명
WaitForStaleIndexes ( ) : void

Waits for stale indexes. !NOTE! Use only if really necessary as can have great impact on performance !NOTE!

비공개 메소드들

메소드 설명
ClearStackInfo ( StackInfo stack ) : void

Clears the stack info.

CommitTransaction ( Transaction transaction ) : void

Commits the transaction.

GetRegisteredSession ( ) : IDocumentSession

Gets the registered session.

RegisterTransaction ( Transaction transaction ) : void

Registers the transaction.

RegisterUnitOfWork ( UnitOfWork unitOfWork ) : void

Registers the unit of work.

RollbackTransaction ( Transaction transaction ) : void

Rollbacks the transaction.

UnregisterTransaction ( Transaction transaction ) : void
UnregisterUnitOfWork ( UnitOfWork unitOfWork ) : void

Unregisters the unit of work.

메소드 상세

WaitForStaleIndexes() 공개 정적인 메소드

Waits for stale indexes. !NOTE! Use only if really necessary as can have great impact on performance !NOTE!
public static WaitForStaleIndexes ( ) : void
리턴 void

프로퍼티 상세

KeyGenerator 공개적으로 정적으로 프로퍼티

public static MultiTypeHiLoKeyGenerator,Raven.Client.Document KeyGenerator
리턴 Raven.Client.Document.MultiTypeHiLoKeyGenerator