IMsMetaModel.CalculateIdentOnFact

Fore Syntax

CalculateIdentOnFact: Boolean;

Fore.NET Syntax

CalculateIdentOnFact: boolean;

Description

The CalculateIdentOnFact property determines whether to unload data on calculating on the Fact scenario.

Comments

The property is taken into account for the model included in the metamodel calculation chain if:

Available values of CalculateIdentOnFact:

Fore Example

Executing the example requires a modeling container with the MS identifier containing a metamodel with the METAMODEL identifier.

Add links to the Metabase, Ms system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    MetaModelObj: IMetabaseObject;
    MetaModel: IMsMetaModel;
Begin
    mb := MetabaseClass.Active;
    // Get metamodel
    MetaModelObj := mb.ItemByIdNamespace("METAMODEL", mb.GetObjectKeyById("MS")).Edit;
    MetaModel := MetaModelObj As IMsMetaModel;
    //Specify that the data on calculation should be unloaded for the Fact scenario
    MetaModel.CalculateIdentOnFact := True;
    // Save changes
    MetaModelObj.Save;
End Sub UserProc;

After executing the example on calculating the METAMODEL metamodel the data is unloaded for the Fact scenario.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Public Shared Sub Main(Params: StartParams);
Var
    mb: IMetabase;
    MetaModelObj: IMetabaseObject;
    MetaModel: IMsMetaModel;
Begin
    mb := Params.Metabase;
    // Get metamodel
    MetaModelObj := mb.ItemByIdNamespace["METAMODEL", mb.GetObjectKeyById("MS")].Edit();
    MetaModel := MetaModelObj As IMsMetaModel;
    //Specify that the data on calculation should be unloaded for the Fact scenario
    MetaModel.CalculateIdentOnFact := True;
    // Save changes
    MetaModelObj.Save();
End Sub

See also:

IMsMetaModel