IRdsDatabase.ElementCardStyle

Syntax

ElementCardStyle: RdsElementCardStyle;

Description

The ElementCardStyle property determines display type of the element card.

Comments

Default value is RdsElementCardStyle.Standart.

Example

Executing the example requires that the repository contains a database with the NSI_BD identifier.

Add links to the Db, Metabase, and Rds system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    NSI: IRdsDatabase;
    CrInfo: IMetabaseObjectCreateInfo;
Begin
    MB := MetabaseClass.Active;
        CrInfo := MB.CreateCreateInfo;
        CrInfo.ClassID := MetabaseObjectClass.KE_CLASS_RDS_DATABASE;
        CrInfo.Id := "NSI_1";
        CrInfo.Name := "MDM repository";
        CrInfo.Parent := Null;
    NSI := MB.CreateObject(CrInfo).Edit As IRdsDatabase;
    NSI.Database := MB.ItemById("NSI_BD").Bind As IDatabase;
    NSI.ElementCardStyle := RdsElementCardStyle.PropertyList;
(NSI As IMetabaseObject).Save;  
End Sub UserProc;

After executing the example a new MDM repository with the NSI_1 identifier is created in the repository root. Table display type of the element card is set.

See also:

IRdsDatabase