ICubeTransactionManager

Assembly: Cubes;

Namespace: Prognoz.Platform.Interop.Cubes;

Description

The ICubeTransactionManager interface is used to manage transactions on working with multidimensional data sources.

Inheritance Hierarchy

ICubeTransactionManager

Comments

The interface is identical to the IConnectionTransaction interface but it is optimized to manage transactions on working with multidimensional data sources and also on working with table MDM dictionaries. All the other operations with data sources are executed within external transactions:

Operations with table MDM dictionaries:

To get started with the transaction manager, create an instance of the CubeTransactionManager class. Information about existing DBMS server transactions is sent to the manager. If the transaction exists but a new one is not created, otherwise a new transaction is created. To save changes made within the transaction, call the Commit method; to rollback changes, call the Rollback method.

To use the manager as an operation handler on saving data to cube, send the obtained instance of the CubeTransactionManager class to the ICubeInstanceStorage.SaveMatrixT method.

Methods

  Method name Brief description
The Commit method saves all changes at DBMS server and finishes transaction.
The Rollback method cancels all changes and finishes transaction.

See also:

Cubes Assembly Interfaces