메소드 | 설명 | |
---|---|---|
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 |
protected GetNhTransaction ( bool autoBegin ) : ITransaction | ||
autoBegin | bool | |
리턴 | ITransaction |
public NhProviderTransaction ( global nhSession, bool isNestedInActiveTransaction = false ) : System | ||
nhSession | global | |
isNestedInActiveTransaction | bool | |
리턴 | System |