IncludeData: Boolean;
The IncludeData property determines whether the object data is included in update.
If the property is set to True, object data will be included in the update, if the property is set to False, it will not.
The property is relevant only for tables and MDM dictionaries. On changing value of this property, the NodeType property value is changed from DataObject to Object (on changing the IncludeData property value from True to False) and vice versa. The property is set to True by default.
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 in the update, however table data is not included in the update.
See also: