IDbClass.SupportsElementDependencies

Syntax

SupportsElementDependencies: Boolean;

Description

The SupportsElementDependencies property returns whether the class tracks changes in MDM dictionaries.

Comments

If class tracks changes in MDM dictionary property returns value True, otherwise - False.

This property is relevant for regular reports, express reports, virtual cubes, workbooks, validations, models, metamodels, custom objects, import/export objects, replication. If in a window of object properties on a tag "Consists of" the flag  "Track elements changes in MDM dictionary" is set value True is assigned for the SupportsElementDependencies property.

Default value is False.

Example

To execute the example, add a link to the Metabase assembly.

Sub UserProc;
Var
    Man: IMetabaseManager;
    Classes: IDbClasses;
    Cls: IDbClass;
    i, c: Integer;
Begin
    Man := MetabaseManagerFactory.Active;
    Classes := Man.Classes;
    c := Classes.Count;
    For i := 0 To c - 1 Do
        Cls := Classes.Item(i);
        Debug.WriteLine("Name: " + Cls.Name + "; Support of MDM: " + Cls.SupportsElementDependencies.ToString);
    End For;
End Sub UserProc;

After executing the example the development environment console displays a list that consists of classes names and messages whether they track changes in MDM dictionaries.

See also:

IDbClass