Click or drag to resize

ITransactionManager Interface

An interface for managing graph transactions.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public interface ITransactionManager

The ITransactionManager type exposes the following members.

Properties
  NameDescription
Public propertyIsActive
Indicates, whether a transaction is currently active.
Top
Methods
  NameDescription
Public methodCommit
Removes the rollback data and stops this transaction
Public methodExternalTypeChanged
Registers an undo item to be called on rollback, for reverting the changes applied to some graph element attribute of external type. Only in case a transaction is underway and not paused (and not rolling back) is the undo item added to the undo log, so you may call this method simply on each change to an external type.
Public methodPause
Pauses the running transactions, i.e. changes done from now on until resume won't be undone in case of a rollback
Public methodResume
Resumes the running transactions after a pause, i.e. changes done from now on will be undone again in case of a rollback
Public methodRollback
Undoes all changes during a transaction
Public methodStart
Starts a transaction
Top
See Also