Top Method Summary
Options Name Purpose
+ FlattenNestedInstanceRecords (handle) Flattens nested instance records
+ CHARACTER GetObjectMasterGuid (character) Gets the GUID of the repository object master in the .smartrepo file
+ CHARACTER GetObjectName (character) Gets the name of the repository object master in the .smartrepo file
# LOGICAL IsObjectMasterGuidConflict (character, character, character) Checks if there is a GUID conflict for the object master
+ Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult LoadRepositoryObject (character, logical, IFlagConflictsHandler) Loads an SmartObjectMaster and related data from a .smartrepo file
+ LoadRepositoryObject (handle, logical) Loads an SmartObjectMaster and related data from a .smartrepo file
+ ReadDatasetFromXml (handle, handle) Reads the Dataset
# SynchronizeData (handle, handle, character) Synchronizes the data from the source buffer to the target buffer

Top Property Summary
Options Name Purpose
+ LOGICAL UpdateLastImportDate


Method Detail
Top

PUBLIC FlattenNestedInstanceRecords (handle)

Purpose: Flattens nested instance records
Notes:

Parameters:
phXmlDocument HANDLE
The XML Document with the data
Top

PUBLIC CHARACTER GetObjectMasterGuid (character)

Purpose: Gets the GUID of the repository object master in the .smartrepo file
Notes:

Parameters:
pcFileName CHARACTER
The name of the .smartrepo file to import
Returns CHARACTER
The GUID of the repository object
Top

PUBLIC CHARACTER GetObjectName (character)

Purpose: Gets the name of the repository object master in the .smartrepo file
Notes:

Parameters:
pcFileName CHARACTER
The name of the .smartrepo file to import
Returns CHARACTER
The name of the repository object
Top

PROTECTED LOGICAL IsObjectMasterGuidConflict (character, character, character)

Purpose: Checks if there is a GUID conflict for the object master
Notes:

Parameters:
pcObjectMasterGuid CHARACTER
The GUID of the object master to check
pcObjectName CHARACTER
The name of the object
pcCurrentObjectMasterGuid CHARACTER
The GUID of the current object master
Returns LOGICAL
Logical value indicating if there is a GUID conflict
Top

PUBLIC Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult LoadRepositoryObject (character, logical, IFlagConflictsHandler)

Purpose: Loads an SmartObjectMaster and related data from a .smartrepo file
Notes:

Parameters:
pcFileName CHARACTER
The name of the .smartrepo file to import
plSetModifiedStatus LOGICAL
Logical value indicating if the imported object should be set as modified
poFlagConflictsHandler Consultingwerk.SmartFramework.Repository.Tools.IFlagConflictsHandler
Object reference that returns if conflicting imports should be flagged as pending merges
Returns Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult
The LoadRepositoryObjectResult instance with the GUID of the imported repository object
Top

PUBLIC LoadRepositoryObject (handle, logical)

Purpose: Loads an SmartObjectMaster and related data from a .smartrepo file
Notes:

Parameters:
phDataset HANDLE
The handle of the ProDataset to import from
plSetModifiedStatus LOGICAL
Logical value indicating if the imported object should be set as modified
Top

PUBLIC ReadDatasetFromXml (handle, handle)

Purpose: Reads the Dataset
Notes:

Parameters:
phDataset HANDLE
The ProDataset to import into
phXmlDocument HANDLE
The XML Document with the data
Top

PROTECTED SynchronizeData (handle, handle, character)

Purpose: Synchronizes the data from the source buffer to the target buffer
Notes:

Parameters:
phSourceBuffer HANDLE
The handle of the source buffer (from the .smartrepo file)
phTargetBuffer HANDLE
The handle of the target buffer (current repository data)
pcKeyField CHARACTER
The name of the primary unique key field of the buffer


Property Detail
Top

PUBLIC LOGICAL UpdateLastImportDate


Returns LOGICAL


Temp-Table Detail


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.10.2025 08:46:56