IRubricator.SeparateTableForActualData

Fore Syntax

SeparateTableForActualData: Boolean;

Fore.NET Syntax

SeparateTableForActualData: boolean;

Description

The SeparateTableForActualData property determines whether to use a separate table to store actual data

Comments

Available values:

Fore Example

Executing the example requires that the repository contains a time series database with the TSDB_DATA identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    Rub: IRubricator;
Begin
    // Get repository
    mb := MetabaseClass.Active;
    // Get time series database
    Rub := mb.ItemById("TSDB_DATA").Edit As IRubricator;
    // Specify that actual data is stored
    // in a separate table
    Rub.SeparateTableForActualData := True;
    // Refresh system tables and save changes
    Rub.AlterAndSave;
End Sub UserProc;

After executing the example a separate table is used to store actual data in the TSDB_DATA database.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Cubes;

Public Shared Sub Main(Params: StartParams);
Var
    mb: IMetabase;
    Rub: IRubricator;
Begin
    // Get repository
    mb := Params.Metabase;
    // Get time series database
    Rub := mb.ItemById["TSDB_DATA"].Edit() As IRubricator;
    // Specify that actual data is stored
    // in a separate table
    Rub.SeparateTableForActualData := True;
    // Refresh system tables and save changes
    Rub.AlterAndSave();
End Sub;

See also:

IRubricator