IMDCalculationDataset.SetCube

Syntax

SetCube(Value: ICubeModel);

Parameters

Value. The cube that must be added to multidimensional calculation on DB server as a data source or data consumer.

Description

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.

Comments

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.

Example

The method use is given in the example for IMDCalculation.TimeDependencyEnabled.

See also:

IMDCalculationDataset