[This is preliminary documentation and is subject to change.]
Declaration Syntax
C# |
public enum ResultAction
Members
Member | Description |
---|---|
Commit | If the active Execution has been called from
another Execution, then this does not update any Databases, but merges this
Execution's modifications with those of the calling Execution. Otherwise,
this commits all modifications made in memory during the Execution to the
appropriate Databases. |
Rollback | Rollback all uncommitted Database updates made during the
execution, and undo all modifications made in memory. |
ReExecute | Execute the operation again, with the same arguments. This can
be set by the operation directly in the ExecutionResult, or can also be set in a DatabaseExceptionHandler by setting
the DatabaseExceptionOutcome to
ReExecute. In the latter case, a Rollback is performed automatically, but
this does not happen if you set this value directly in the ExecutionResult.
|
NoAction | Take no action - neither commit nor rollback. Any message in the
ExecutionResult will be treated as an information message. Any
modifications made by the Execution will be merged with either the calling
Execution if there is one, or the base level Execution. |
Warning | Take no action - neither commit nor rollback. Any message in the
ExecutionResult will be treated as a warning message. Any modifications
made by the Execution will be merged with either the calling Execution if
there is one, or the base level Execution. |
Exception | Indicates that en exception was generated at some point during
execution of the operation. The operation may or may not have been rolled
back. |
CommitWarning | This performs the same function as Commit, but also return a
warning. This action is used where you want to commit any changes made,
but also issue a warning rather than information message to the user.
|
HardCommit | Commit all modifications made during the Execution to persistent
storage. This is done whether or not the Execution has been called from
another Execution. |
HardCommitWarning | This performs the same function as HardCommit, but also return a
warning. This action is used where you want to commit any changes made,
but also issue a warning rather than information message to the user.
|