Top Method Summary
Options Name Purpose
AddRowidKeyWhenNoPrimaryUniqueIndex (character) Keys the given temp-table by ROWID when it has no primary unique index
CHARACTER GetRowidFieldName (character) Returns the name of the ROWID field for the given source table names
CHARACTER GetSourceBufferName (character, character, integer) Returns the name of the source buffer the field mapping and the Keys phrase refer to
RefreshDesign () Refreshes the visualization of the Business Entity design after the temp-table has been modified
ShutdownInternal () Uninitializes the plugin instance and unsubscribes from events
StartupInternal (IBusinessEntityDatasetController) Initializes the plugin instance and subscribes to required events
TempTableAddedToDesignHandler (Object, TempTableAddedToDesignEventArgs) Event handler for the TempTableAddedToDesign event of the Business Entity Dataset Controller
CHARACTER UnqualifiedTableName (character) Returns the unqualified name of the given database table


Method Detail
Top

AddRowidKeyWhenNoPrimaryUniqueIndex (character)

Purpose: Keys the given temp-table by ROWID when it has no primary unique index
Notes: Adds a <DatabaseTable>Rowid field sourced from ROWID(<source buffer>),
sets the Keys phrase of the temp-table to KEYS (ROWID) and makes the
new field the primary unique index of the temp-table, so that the
generated DataAccess class can identify the database records of a
source table without a primary unique index

Parameters:
pcTempTableName CHARACTER
The name of the temp-table that has been added to the design
Top

CHARACTER GetRowidFieldName (character)

Purpose: Returns the name of the ROWID field for the given source table names
Notes: The field is named <DatabaseTable>Rowid, with the unqualified name
of the first source database table camel-cased using the
StringHelper - hyphens and underscores act as word separators,
e.g. the order-line table yields OrderLineRowid

Parameters:
pcSourceTableNames CHARACTER
The comma-delimited list of source table names
Returns CHARACTER
The name of the ROWID field
Top

CHARACTER GetSourceBufferName (character, character, integer)

Purpose: Returns the name of the source buffer the field mapping and the
Keys phrase refer to
Notes: Falls back to the unqualified source table name when no source
buffer name is present for the entry

Parameters:
pcSourceTableNames CHARACTER
The comma-delimited list of source table names
pcSourceBufferNames CHARACTER
The comma-delimited list of source buffer names
piEntry INTEGER
The 1-based entry to return the source buffer name for
Returns CHARACTER
The name of the source buffer
Top

RefreshDesign ()

Purpose: Refreshes the visualization of the Business Entity design after
the temp-table has been modified
Notes: The base implementation is a noop - the GUI plugin variant
overrides this method to redraw the design canvas

Top

ShutdownInternal ()

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

Top

StartupInternal (IBusinessEntityDatasetController)

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

Parameters:
poController Consultingwerk.BusinessEntityDesigner.Common.IBusinessEntityDatasetController
The reference to the Business Entity Dataset Controller
Top

TempTableAddedToDesignHandler (Object, TempTableAddedToDesignEventArgs)

Purpose: Event handler for the TempTableAddedToDesign event of the
Business Entity Dataset Controller
Notes:

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

CHARACTER UnqualifiedTableName (character)

Purpose: Returns the unqualified name of the given database table
Notes: Strips a leading database qualifier

Parameters:
pcTableName CHARACTER
The possibly database-qualified table name
Returns CHARACTER
The unqualified table name


Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.09.2026 19:36:09