Top Method Summary
Options Name Purpose
AddDuplicateConflict (character, character) Records a duplicate ObjectMasterGuid conflict for a .smartrepo file that could not be loaded because another file with the same ObjectMasterGuid had already been loaded.
DeleteRepositoryObject (CharacterHolder) Deletes a repository object
DeleteSmartRepoFile (CharacterHolder) Deletes a .smartrepo file
DiffFile (character, SmartRepoComparer, ILoggingStream) Diff a .smartrepo file
DiffRepoObjects (character) Diff the repository objects
ExportSmartRepoFile (ExportSmartRepoFileParameter) Exports a .smartrepo file
Consultingwerk.LongcharHolder GetFileContent (CharacterHolder) Gets the content of a file
Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult ImportSmartRepoFile (ImportSmartRepoFileParameter) Imports a .smartrepo file
LoadFromDirectory (character) Loads all .smartrepo files in a directory into the dataset
Consultingwerk.CharacterHolder PerformDirectoryDiff (dataset, CharacterHolder) Diff the .smartrepo files on disk against records in the DB
UpdateObjectMasterGuid (UpdateObjectMasterGuidParameter) Updates the GUID of an object master


Method Detail
Top

AddDuplicateConflict (character, character)

Purpose: Records a duplicate ObjectMasterGuid conflict for a .smartrepo file
that could not be loaded because another file with the same
ObjectMasterGuid had already been loaded.
Notes: The conflict is appended to cDuplicateConflicts and returned to the
caller by PerformDirectoryDiff.

Parameters:
pcFileName CHARACTER
The skipped .smartrepo file
pcObjectMasterGuid CHARACTER
The ObjectMasterGuid shared with the already loaded file
Top

DeleteRepositoryObject (CharacterHolder)

Purpose: Deletes a repository object
Notes:

Parameters:
poObjectMasterGuid Consultingwerk.CharacterHolder
The CharacterHolder with the ObjectMasterGuid to delete
Top

DeleteSmartRepoFile (CharacterHolder)

Purpose: Deletes a .smartrepo file
Notes:

Parameters:
poFile Consultingwerk.CharacterHolder
The name of the .smartrepo file as a CharacterHolder instance
Top

DiffFile (character, SmartRepoComparer, ILoggingStream)

Purpose: Diff a .smartrepo file
Notes:

Parameters:
pcFileName CHARACTER
The name of the .smartrepo file
poComparer Consultingwerk.SmartFramework.Repository.Object.Diff.SmartRepoComparer
The comparer
poLogger Consultingwerk.Util.LoggingStream.ILoggingStream
The logger
Top

DiffRepoObjects (character)

Purpose: Diff the repository objects
Notes:

Parameters:
pcDirectory CHARACTER
The directory with the .smartrepo files
Top

ExportSmartRepoFile (ExportSmartRepoFileParameter)

Purpose: Exports a .smartrepo file
Notes:

Parameters:
poParameter Consultingwerk.SmartFramework.Repository.Object.Diff.ExportSmartRepoFileParameter
The ExportSmartRepoFileParameter
Top

Consultingwerk.LongcharHolder GetFileContent (CharacterHolder)

Purpose: Gets the content of a file
Notes:

Parameters:
poFileName Consultingwerk.CharacterHolder
The name of the file
Returns Consultingwerk.LongcharHolder
The content of the file
Top

Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult ImportSmartRepoFile (ImportSmartRepoFileParameter)

Purpose: Imports a .smartrepo file
Notes:

Parameters:
poParameter Consultingwerk.SmartFramework.Repository.Object.Diff.ImportSmartRepoFileParameter
The ImportSmartRepoFileParameter
Returns Consultingwerk.SmartFramework.Repository.Tools.LoadRepositoryObjectResult
The guid of the imported object
Top

LoadFromDirectory (character)

Purpose: Loads all .smartrepo files in a directory into the dataset
Notes:

Parameters:
pcDirectory CHARACTER
The directory
Top

Consultingwerk.CharacterHolder PerformDirectoryDiff (dataset, CharacterHolder)

Purpose: Diff the .smartrepo files on disk against records in the DB
Notes: The returned CharacterHolder carries the list of duplicate
ObjectMasterGuid conflicts (empty when there are none) so the
caller can report the affected files to the user. The diff itself
is always loaded, regardless of any duplicates.

Parameters:
dsObjectMaster DATASET dsObjectMaster
The Dataset with the new or modified records
poDirectory Consultingwerk.CharacterHolder
The directory with the .smartrepo files
Returns Consultingwerk.CharacterHolder
A CharacterHolder with the duplicate ObjectMasterGuid conflicts (CHR(10) delimited entries, each CHR(1) delimited into already-loaded file, skipped file and ObjectMasterGuid)
Top

UpdateObjectMasterGuid (UpdateObjectMasterGuidParameter)

Purpose: Updates the GUID of an object master
Notes:

Parameters:
poParameter Consultingwerk.SmartFramework.Repository.Object.Diff.UpdateObjectMasterGuidParameter
The UpdateObjectMasterGuidParameter


ProDataset Detail

ProDataset dsObjectMaster

Member tables: eSmartObjectMaster


Temp-Table Detail

Temp-Table eSmartObjectMaster

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.07.2026 14:31:18