Top Method Summary
Options Name Purpose
# AddAdditionalFields (character, handle) Adds additional fields specified by the caller to the current Business Entity schema Notes : This is a stub implementation and can be extended to parse and add fields @param pcAdditionalFields A comma delimited list of additional fields to add @param phDatabaseDataset The handle to the dataset with the schema information */
# CHARACTER BuildBusinessEntityName (logical, character) Builds the name of a Business Entity
# CreateField (handle, logical) Creates a field for a database field
+ GenerateBusinessEntities (character, character, character, character, logical, character, character) Generates a list of Business Entities
+ GenerateBusinessEntities (character, logical, character, character, character, logical, character, character, logical) Generates a list of Business Entities
+ GenerateBusinessEntity (character, character, character, character, character, dataset) Generates a single Business Entity
# GenerateBusinessEntity (handle, character, character, character, character, character, character, character, character, logical) Generates a single Business Entity
# CHARACTER GetIndexDataTypes (character, character) Returns a comma delimited list of data types of the index fields
# OnStatusChanged (ProcessingStatusChangedEventArgs) Raises the StatusChanged
# CHARACTER PathFromPackage (character) Translates a package name into a file path

Top Event Summary
Options Name Purpose
+ StatusChanged (Object, ProcessingStatusChangedEventArgs) Raised when the status of this component changes


Method Detail
Top

PROTECTED AddAdditionalFields (character, handle)

Purpose: Adds additional fields specified by the caller to the current Business Entity schema
Notes : This is a stub implementation and can be extended to parse and add fields

Parameters:
pcAdditionalFields CHARACTER
A comma delimited list of additional fields to add
phDatabaseDataset HANDLE
The handle to the dataset with the schema information
Top

PROTECTED CHARACTER BuildBusinessEntityName (logical, character)

Purpose: Builds the name of a Business Entity
Notes:

Parameters:
plCamelcase LOGICAL
When true, the first letter of the table name will be forced to uppercase for the Business Entity Name
pcTableName CHARACTER
The name of the database table name
Returns CHARACTER
The base business Entity Name
Top

PROTECTED CreateField (handle, logical)

Purpose: Creates a field for a database field
Notes:

Parameters:
phBuffer HANDLE
The handle to the eField buffer
plUpdateFieldOrder LOGICAL
If true, the field order is updated
Top

PUBLIC GenerateBusinessEntities (character, character, character, character, logical, character, character)

Purpose: Generates a list of Business Entities
Notes:

Parameters:
pcPackage CHARACTER
The source package for the generated business entities
pcBusinessEntityNamePattern CHARACTER
The name pattern for the Business Entity class name, using &1 for the Table name
pcDataAccessNamePattern CHARACTER
The name pattern for the Data Access class name, using &1 for the Table name
pcDatasetControllerNamePattern CHARACTER
The name pattern for the Dataset Controller class name, using &1 for the Table name
plCamelcase LOGICAL
When true, the first letter of the table name will be forced to uppercase for the Business Entity Name
pcDatabase CHARACTER
The database name to generate business entities for
pcTableNames CHARACTER
The name pattern (using the CAN-DO function) the database tables need to match for being generated
Top

PUBLIC GenerateBusinessEntities (character, logical, character, character, character, logical, character, character, logical)

Purpose: Generates a list of Business Entities
Notes:

Parameters:
pcPackage CHARACTER
The source package for the generated business entities
plCreateSubpackage LOGICAL
Create distinct sub-package per table
pcBusinessEntityNamePattern CHARACTER
The name pattern for the Business Entity class name, using &1 for the Table name
pcDataAccessNamePattern CHARACTER
The name pattern for the Data Access class name, using &1 for the Table name
pcDatasetControllerNamePattern CHARACTER
The name pattern for the Dataset Controller class name, using &1 for the Table name
plCamelcase LOGICAL
When true, the first letter of the table name will be forced to uppercase for the Business Entity Name
pcDatabase CHARACTER
The database name to generate business entities for
pcTableNames CHARACTER
The name pattern (using the CAN-DO function) the database tables need to match for being generated
plGenerateDatasetModel LOGICAL
Generate DatasetModel classes along with the Business Entity
Top

PUBLIC GenerateBusinessEntity (character, character, character, character, character, dataset)

Purpose: Generates a single Business Entity
Notes:

Parameters:
pcBusinessEntityName CHARACTER
The base name for the Business Entity, Data Access and Dataset Controller class name
pcPackage CHARACTER
The source package for the generated business entities
pcDatabase CHARACTER
The database name to generate business entities for
pcTableName CHARACTER
The name of the database tables to be generated
pcAdditionalFields CHARACTER
The additional fields to be added to the Business Entity (comma delimited list)
dsBusinessEntity DATASET dsBusinessEntity
The dataset with the schema information
Top

PROTECTED GenerateBusinessEntity (handle, character, character, character, character, character, character, character, character, logical)

Purpose: Generates a single Business Entity
Notes:

Parameters:
phDatabaseDataset HANDLE
The handle to the dataset with the schema information
pcPackage CHARACTER
The source package for the generated business entities
pcBusinessEntityName CHARACTER
The base name for the Business Entity, Data Access and Dataset Controller class name
pcBusinessEntityNamePattern CHARACTER
The name pattern for the Business Entity class name, using &1 for the Table name
pcDataAccessNamePattern CHARACTER
The name pattern for the Data Access class name, using &1 for the Table name
pcDatasetControllerNamePattern CHARACTER
The name pattern for the Dataset Controller class name, using &1 for the Table name
pcDatabase CHARACTER
The database name to generate business entities for
pcTableName CHARACTER
The name of the database tables to be generated
pcAdditionalFields CHARACTER
The additional fields to be added to the Business Entity (comma delimited list)
plGenerateDatasetModel LOGICAL
Generate DatasetModel classes along with the Business Entity
Top

PROTECTED CHARACTER GetIndexDataTypes (character, character)

Purpose: Returns a comma delimited list of data types of the index fields
Notes:

Parameters:
pcTableName CHARACTER
The name of the temp-table
pcIndexFields CHARACTER
The comma delimited list of field names
Returns CHARACTER
The comma delimited list of data types
Top

PROTECTED OnStatusChanged (ProcessingStatusChangedEventArgs)

Purpose: Raises the StatusChanged
Notes:

Parameters:
e Consultingwerk.ProcessingStatusChangedEventArgs
The ProcessingStatusChangedEventArgs with the data for the event
Top

PROTECTED CHARACTER PathFromPackage (character)

Purpose: Translates a package name into a file path
Notes:

Parameters:
pcPackage CHARACTER
The Package to convert into a file path
Returns CHARACTER
The relative file path derived from the package name


Event Detail
Top

PUBLIC StatusChanged (Object, ProcessingStatusChangedEventArgs)

Purpose: Raised when the status of this component changes
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the StatusChanged event
e Consultingwerk.ProcessingStatusChangedEventArgs
The ProcessingStatusChangedEventArgs with the data for the 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-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.10.2025 07:47:14