Namespace: Consultingwerk.BusinessEntityDesigner.Plugins
Class 
BusinessEntityRelationsPlugin Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.IBusinessEntityDesignerPlugin

File:BusinessEntityRelationsPlugin
Purpose:Plugin to maintain relations between tables of from
(different) Business Entities
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu May 20 08:44:58 CEST 2021



Top Method Summary
Options Name Purpose
DrawShapeDetailsHandler (Object, DrawShapeDetailsEventArgs) Event handler for the DrawShapeDetailsHandler event
LONGCHAR GenerateGetMethod (ModelClassGeneratorPlugin, RelationDesignAttributes, character) Generates the source code for the method
GetRelations (character) Populates the temp-table with relations
CHARACTER GetSelectedTempTableName () Returns the name of the selected temp-table on the canvas
GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs) Event handler for the GetTableModelMembers event of the ModelClassGeneratorPlugin
ShowRelationsDialog () Shows the relation maintenance dialog for the selected temp-table
Shutdown () Method called when the Business Entity Designer will get closed
Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager) Method called when the Business Entity Designer is starting and has loaded the plugin.
StoreRelations (character) Populates the temp-table with relations
ToolClickHandler (Object, ToolClickEventArgs) Event handle the for the toolclick event of the UltraToolbarsController


Method Detail
Top

DrawShapeDetailsHandler (Object, DrawShapeDetailsEventArgs)

Purpose: Event handler for the DrawShapeDetailsHandler event
Notes:

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

LONGCHAR GenerateGetMethod (ModelClassGeneratorPlugin, RelationDesignAttributes, character)

Purpose: Generates the source code for the method
Notes:

Parameters:
poModelClassGeneratorPlugin Consultingwerk.BusinessEntityDesigner.Plugins.ModelClassGeneratorPlugin
The reference to the ModelClassGeneratorPlugin instance
poAttributes Consultingwerk.BusinessEntityDesigner.Plugins.BusinessEntityRelations.RelationDesignAttributes
The RelationDesignAttributes instance
pcTempTableName CHARACTER
The name of the source temp-table
Returns LONGCHAR
The source code for the method
Top

GetRelations (character)

Purpose: Populates the temp-table with relations
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the selected temp-table
Top

CHARACTER GetSelectedTempTableName ()

Purpose: Returns the name of the selected temp-table on the canvas
Notes:

Returns CHARACTER
The name of the selected temp-table
Top

GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs)

Purpose: Event handler for the GetTableModelMembers event of the ModelClassGeneratorPlugin
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the class that raised the event
e Consultingwerk.BusinessEntityDesigner.Plugins.ModelClassGenerator.GetTableModelMembersEventArgs
The GetTableModelMembersEventArgs with the data for this event
Top

ShowRelationsDialog ()

Purpose: Shows the relation maintenance dialog for the selected temp-table
Notes:

Top

Shutdown ()

Purpose: Method called when the Business Entity Designer will get closed
Notes:

Top

Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager)

Purpose: Method called when the Business Entity Designer is starting and
has loaded the plugin.
Notes: Passes references to some key components of the Designer to
the plugin, use this to initialize the plugin, subscribe to events

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
Business Entity with the Design dataset, called with the BIND keyword
poController Consultingwerk.BusinessEntityDesigner.Services.BusinessEntityDatasetController
The BusinessEntityDatasetController
poForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm
The main Form of the BusinessEntityDesigner
poToolbar Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager used by the BusinessEntityDesigner
Top

StoreRelations (character)

Purpose: Populates the temp-table with relations
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the selected temp-table
Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handle the for the toolclick event of the UltraToolbarsController
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event


ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:20:29