Method | Description | |
---|---|---|
Dispose ( bool discardChanges ) : void |
Disposes the specified discard changes.
|
|
FailSession ( ISession session ) : void |
This is called when an action on a session fails
|
|
SessionScope ( ) : System.Collections.Generic |
Initializes a new instance of the SessionScope class.
|
|
SessionScope ( FlushAction flushAction ) : System.Collections.Generic |
Initializes a new instance of the SessionScope class.
|
Method | Description | |
---|---|---|
PerformDisposal ( ICollection |
Performs the disposal.
|
|
SessionScope ( FlushAction flushAction, SessionScopeType type ) : System.Collections.Generic |
Initializes a new instance of the SessionScope class.
|
public Dispose ( bool discardChanges ) : void | ||
discardChanges | bool | if set to |
return | void |
public FailSession ( ISession session ) : void | ||
session | ISession | The session |
return | void |
protected PerformDisposal ( ICollection |
||
sessions | ICollection |
The sessions. |
return | void |
public SessionScope ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public SessionScope ( FlushAction flushAction ) : System.Collections.Generic | ||
flushAction | FlushAction | The flush action. |
return | System.Collections.Generic |
protected SessionScope ( FlushAction flushAction, SessionScopeType type ) : System.Collections.Generic | ||
flushAction | FlushAction | The flush action. |
type | SessionScopeType | The type. |
return | System.Collections.Generic |