Метод | Описание | |
---|---|---|
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 |
protected PerformExplicitRollback ( ) : bool | ||
Результат | bool |
protected PerformImplicitRollback ( ) : bool | ||
Результат | bool |