IRdsDictionaryInstance.FetchAll

Syntax

FetchAll: Boolean;

Description

The FetchAll property determines whether values of system and custom attributes are loaded in cache together.

Comments

Available values:

Example

Executing the example requires an MDM repository with the RDS_REPO identifier that contains a dictionary with the OBJ_DICT identifier. It is also necessary to add links to the Metabase, Rds system assemblies.

    Sub UserProc;
    Var
        MB: IMetabase;
        RdsDescr: IMetabaseObjectDescriptor;
        Dict: IRdsDictionary;
        DictInst: IRdsDictionaryInstance;
    Begin
        MB := MetabaseClass.Active;
        RdsDescr := MB.ItemById("RDS_REPO");
        Dict := MB.ItemByIdNamespace("OBJ_DICT", RdsDescr.Key).Bind As IRdsDictionary;
        DictInst := Dict.Open(Null);
        DictInst.FetchAll := True;
    End Sub UserProc;

After executing the example values of custom attributes along with values of system attributes are loaded in cache.

See also:

IRdsDictionaryInstance