Assembly: Cubes;
Namespace: Prognoz.Platform.Interop.Cubes;
The ICubeTransactionManager interface is used to manage transactions on working with multidimensional data sources.
ICubeTransactionManager
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:
Add, change, and delete values.
Save changes including the use of time tables.
Operations with table MDM dictionaries:
Execute export or import schemas.
Save elements to update.
Build dictionary instance.
Searching elements.
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 then 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.
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: