Persistate API documentation
Commit Method
NamespacesPersistateExecutionCommit()()()()

[This is preliminary documentation and is subject to change.]

Commits to the appopriate Databases all modifications which have been made since the start of this Execution, or since the last call to Commit or UndoModifications(Boolean).
Declaration Syntax
C#
public ExecutionResult Commit()
Return Value
An ExecutionResult containing the result of the commit.
Remarks

This Execution may not be the base Execution, and the ExecutionContext may not be Viewer. To commit modifications in these cases, use the appropriate derived Session.Commit method.

This will commit any object creations, modifications, deletions and link changes performed during this Execution. This also includes any modifications which may have been transferred from other Executions called from this one.

Link changes happen when you set or remove a persistent object as a single member (associated or not) of another persistent object, and when you add or remove a persistent object from a collection (associated or not) of persistent objects. Note that this does not affect any objects which you have not yet attached to the persistent object tree.

Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the ExecutionContext is Viewer or if this is the base Execution.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)