C# 클래스 Rebel.Framework.Persistence.NHibernate.NhProviderTransaction

상속: Rebel.Hive.ProviderSupport.AbstractProviderTransaction
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
DecrementNestingLevel ( ) : void
EnsureBegun ( ) : void
GetTransactionId ( ) : string
IncrementNestingLevel ( ) : void
NhProviderTransaction ( global nhSession, bool isNestedInActiveTransaction = false ) : System

보호된 메소드들

메소드 설명
DisposeResources ( ) : void

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.

GetNhTransaction ( bool autoBegin ) : ITransaction
PerformCommit ( ) : bool
PerformExplicitRollback ( ) : bool
PerformImplicitRollback ( ) : bool

If its implicit we don't do an explicit rollback on the NH transaction as it does it itself on disposal. Currently we're just going to returns false sinse we're never actually going to be doing anything and since we're also overriding the WasRolledback property, it doesn't really make any difference.

비공개 메소드들

메소드 설명
Begin ( ) : void

메소드 상세

DecrementNestingLevel() 공개 메소드

public DecrementNestingLevel ( ) : void
리턴 void

DisposeResources() 보호된 메소드

Handles the disposal of resources. Derived from abstract class DisposableObject which handles common required locking logic.
protected DisposeResources ( ) : void
리턴 void

EnsureBegun() 공개 메소드

public EnsureBegun ( ) : void
리턴 void

GetNhTransaction() 보호된 메소드

protected GetNhTransaction ( bool autoBegin ) : ITransaction
autoBegin bool
리턴 ITransaction

GetTransactionId() 공개 메소드

public GetTransactionId ( ) : string
리턴 string

IncrementNestingLevel() 공개 메소드

public IncrementNestingLevel ( ) : void
리턴 void

NhProviderTransaction() 공개 메소드

public NhProviderTransaction ( global nhSession, bool isNestedInActiveTransaction = false ) : System
nhSession global
isNestedInActiveTransaction bool
리턴 System

PerformCommit() 보호된 메소드

protected PerformCommit ( ) : bool
리턴 bool

PerformExplicitRollback() 보호된 메소드

protected PerformExplicitRollback ( ) : bool
리턴 bool

PerformImplicitRollback() 보호된 메소드

If its implicit we don't do an explicit rollback on the NH transaction as it does it itself on disposal. Currently we're just going to returns false sinse we're never actually going to be doing anything and since we're also overriding the WasRolledback property, it doesn't really make any difference.
protected PerformImplicitRollback ( ) : bool
리턴 bool