IDimAttribute.Nullable

Syntax

Nullable: Boolean;

Description

The Nullable property determines whether the selected attribute may contain empty values. This property ensures compatibility. This property can be used to work with MDM dictionaries' structure.

Example

Executing the example requires an MDM repository NSI_1. This repository contains an MDM dictionary with the Dict_1 identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Dict: IDimensionModel;

Attrs: IDimAttributes;

Attr: IDimAttribute;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemByIdNamespace("Dict_1", MB.ItemById("NSI_1").Key).Bind;

Dict := MObj As IDimensionModel;

Attrs := Dict.Attributes;

For Each Attr In Attrs Do

Debug.WriteLine(Attr.Nullable);

End For;

End Sub Main;

After executing the example structure of the MDM repository is available. Development environment console shows whether attribute may contain empty values for all dictionary attributes.

See also:

IDimAttribute