Top Method Summary
Options Name Purpose
AfterWriteFileHandler (Object, AfterWriteFileEventArgs) Event handler for the AfterWriteFile event of the BusinessEntityGenerator
GenerationFinishedHandler (Object, EventArgs) Event handler for the GenerationFinished event of the BusinessEntityGenerator
CHARACTER NormalizeFileName (character) Returns the canonical name of an announced generated file
A ProcessGeneratedFile (character) Processes a single generated file at the end of the generation run
ShutdownInternal () Uninitializes the plug-in instance and unsubscribes from events
StartupInternal () Initializes the plug-in instance and subscribes to required events


Method Detail
Top

AfterWriteFileHandler (Object, AfterWriteFileEventArgs)

Purpose: Event handler for the AfterWriteFile event of the BusinessEntityGenerator
Notes: Only remembers the file - see the class description for why it is
not processed here

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.BusinessEntityDesigner.Generator.AfterWriteFileEventArgs
The AfterWriteFileEventArgs with the data for this event
Top

GenerationFinishedHandler (Object, EventArgs)

Purpose: Event handler for the GenerationFinished event of the BusinessEntityGenerator
Notes: Processes every file remembered during the run exactly once and
then clears the inventory. A failure on a single file does not
abort the processing of the remaining ones

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

CHARACTER NormalizeFileName (character)

Purpose: Returns the canonical name of an announced generated file
Notes: The generator announces the same file under two notations - the
class generation path builds the name from the configured source
folder using forward slashes, while UpdateDataAccessObject
resolves it through FILE-INFO, which returns backslashes. Without
resolving the name the Data Access class would be processed twice
(SCL-5659). A name that cannot be resolved is kept as announced,
so the failure surfaces per file rather than aborting the run

Parameters:
pcFileName CHARACTER
The file name as announced by the generator
Returns CHARACTER
The resolved file name, or the announced name when it cannot be resolved
Top

ProcessGeneratedFile (character)

Purpose: Processes a single generated file at the end of the generation run
Notes: Implemented by the derived plug-in. A failure is contained to
this file by the caller, so the remaining files are still
processed

Parameters:
pcFileName CHARACTER
The resolved name of the generated source file
Top

ShutdownInternal ()

Purpose: Uninitializes the plug-in instance and unsubscribes from events
Notes: Called by derived classes from their Shutdown method

Top

StartupInternal ()

Purpose: Initializes the plug-in instance and subscribes to required events
Notes: Called by derived classes from their Startup method



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.08.2026 16:54:33