IRubricator.Database

Syntax

Database: IRdsDatabase;

Description

The Database property determines the MDM repository that contains basic dictionaries necessary for working with a time series database.

Example

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

Sub Main;

Var

Mb: IMetabase;

Des: IMetabaseObjectDescriptor;

MbObj: IMetabaseObject;

Rubr: IRubricator;

s: String;

Begin

Mb := MetabaseClass.Active;

Des := MB.ItemById("NewCatalog");

MbObj := Des.Bind;

Rubr := MbObj As IRubricator;

s := (Rubr.Database As IMetabaseObject).Id;

End Sub Main;

After executing the example the "s" variable contains identifier of the MDM repository that stores basic dictionaries.

See also:

IRubricator