SetCube(Value: ICubeModel);
Value. The cube that must be added to multidimensional calculation on DB server as a data source or data consumer.
The SetCube method sets up slices and facts of data source or data consumer according to the structure of the cube passed by the Value parameter.
When this method is called, slices are created in multidimensional calculation on DB server for each cube dimension, and also factors, linked to cube facts, are created.
This method is called automatically on adding data sources by means of the IMDCalculationSources.AddCube method.
The method use is given in the example for IMDCalculation.TimeDependencyEnabled.
See also: