IMetabaseUpdateObjectNode.IncludeData

Syntax

IncludeData: Boolean;

Description

The IncludeData property indicates whether the object data is included into update.

Comments

If the property value is True, object data will be included in the update, if the value is False, it won't.

This property is relevant only for tables and MDM dictionaries. On changing value of this property, the NodeType property values is changed from DataObject to Object (on changing the IncludeData property values from True to False) and vice versa. The default value of this property is True.

Example

Executing the example requires that the repository contains a table with the Table identifier.

Sub UserProc;
Var
    Mb: IMetabase;
    Upd: IMetabaseUpdate;
    Node: IMetabaseUpdateObjectNode;
Begin
    Mb := MetabaseClass.Active;
    Upd := Mb.CreateUpdate;
    Node := Upd.RootFolder.Add(MetabaseUpdateNodeType.Object) 
As IMetabaseUpdateObjectNode;
    Node.Object := Mb.ItemById(
"Table");
    Node.IncludeData := 
False;
    Upd.SaveToFileNF(
"c:\temp\Update1.pefx");
End Sub UserProc;

After executing the example the new update is created. The table will be included to the update, however table data is not included in the update.

See also:

IMetabaseUpdateObjectNode | MetabaseUpdateNodeType