IUiRdsDictionary.FetchAll

Syntax

FetchAll: Boolean;

Description

The FetchAll property determines whether the values of system and custom attributes of MDM dictionary should be loaded to cache together.

Comments

Available values:

Example

Executing the example requires that the repository contains an MDM repository with the RDS_REPO identifier containing a dictionary with the OBJ_DICT identifier. The example also requires a form with a button named Button1 on it and the UiRdsDictionary component named UiRdsDictionary1, that is a data source for the RdsDictionaryBox component.

Add a link to the Metabase system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MB: IMetabase;
    RdsDescr: IMetabaseObjectDescriptor;
    Dict: IRdsDictionary;
Begin
    UiRdsDictionary1.Active := False;
    MB := MetabaseClass.Active;
    RdsDescr := MB.ItemById("RDS_REPO");
    Dict := MB.ItemByIdNamespace("OBJ_DICT", RdsDescr.Key).Bind As IRdsDictionary;
    UiRdsDictionary1.Object := Dict;
    UiRdsDictionary1.FetchAll := True;
    UiRdsDictionary1.Active := True;
End Sub Button1OnClick;

Clicking the button opens the OBJ_DICT dictionary in the RdsDictionaryBox component. Along with the system attributes values the user attributes values will be loaded to cache.

See also:

IUiRdsDictionary