Method | Description | |
---|---|---|
DecrementNestingLevel ( ) : void | ||
EnsureBegun ( ) : void | ||
GetTransactionId ( ) : string | ||
IncrementNestingLevel ( ) : void | ||
NhProviderTransaction ( global nhSession, bool isNestedInActiveTransaction = false ) : System |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
Begin ( ) : void |
protected GetNhTransaction ( bool autoBegin ) : ITransaction | ||
autoBegin | bool | |
return | ITransaction |
public NhProviderTransaction ( global nhSession, bool isNestedInActiveTransaction = false ) : System | ||
nhSession | global | |
isNestedInActiveTransaction | bool | |
return | System |