|
Options |
Name |
Purpose |
|
|
|
AddAdditionalFields (character, handle)
|
Adds additional fields specified by the caller to the current Business Entity schema
Notes : Entries are comma delimited and may be in either of two forms:
<databasetable>.<dbfieldname>
<temptablefieldname>=<databasetable>.<dbfieldname>
The second form maps the database field to a different temp-table field name.
@param pcAdditionalFields A comma delimited list of additional fields to add
@param phDatabaseDataset The handle to the dataset with the schema information
*/
|
|
|
|
CHARACTER AddTempTable (character, character, character, dataset)
|
Adds an additional temp-table to an existing Business Entity schema dataset
Notes : This method does not create or update eBusinessEntity, does not persist the .bedgm and does not generate code
@param pcDatabase The database name to add the temp-table from
@param pcTableName The table name to add to the Business Entity
@param pcAdditionalFields Additional fields to be added to the temp-table (comma delimited list)
@param dsBusinessEntity The dataset with the schema information
@return The name of the new temp-table
*/
|
|
|
|
CHARACTER AddTempTable (character, character, character, character, dataset)
|
Adds an additional temp-table to an existing Business Entity schema dataset,
optionally using the explicit temp-table name passed by the caller
Notes : This method does not create or update eBusinessEntity, does not persist the .bedgm and does not generate code.
When pcTempTableName is empty, behaviour is identical to the four-argument overload
(default temp-table naming based on DefaultTablePrefix / DefaultTableSuffix)
@param pcDatabase The database name to add the temp-table from
@param pcTableName The table name to add to the Business Entity
@param pcAdditionalFields Additional fields to be added to the temp-table (comma delimited list)
@param pcTempTableName Optional explicit name for the new temp-table; when empty the default naming is used
@param dsBusinessEntity The dataset with the schema information
@return The name of the new temp-table
*/
|
|
|
|
CHARACTER AddTempTable (handle, character, character, character, character, character)
|
Adds an additional temp-table to the current Business Entity schema dataset
Notes : This method only adds the schema records (eTable/eField/eIndex) to dsBusinessEntity
@param phDatabaseDataset The handle to the dataset with the schema information
@param pcPackage The package of the Business Entity
@param pcBusinessEntityName The Business Entity name to associate the temp-table with
@param pcDatabase The database name to add the temp-table from
@param pcTableName The table name to add to the Business Entity
@param pcAdditionalFields Additional fields to be added to the temp-table (comma delimited list)
@return The name of the new temp-table
*/
|
|
|
|
CHARACTER AddTempTable (handle, character, character, character, character, character, character)
|
Adds an additional temp-table to the current Business Entity schema dataset,
optionally using the explicit temp-table name passed by the caller
Notes : This method only adds the schema records (eTable/eField/eIndex) to dsBusinessEntity.
When pcTempTableName is empty, the default naming derived from
DefaultTablePrefix / DefaultTableSuffix is used.
@param phDatabaseDataset The handle to the dataset with the schema information
@param pcPackage The package of the Business Entity
@param pcBusinessEntityName The Business Entity name to associate the temp-table with
@param pcDatabase The database name to add the temp-table from
@param pcTableName The table name to add to the Business Entity
@param pcAdditionalFields Additional fields to be added to the temp-table (comma delimited list)
@param pcTempTableName Optional explicit name for the new temp-table; when empty the default naming is used
@return The name of the new temp-table
*/
|
|
|
|
CHARACTER BuildBusinessEntityName (logical, character)
|
Builds the name of a Business Entity
|
|
|
|
CreateField (handle, logical)
|
Creates a field for a database field
|
|
|
|
CreateField (handle, logical, character)
|
Creates a field for a database field, optionally mapping it to a different
temp-table field name
|
|
|
|
CreateIndex (handle)
|
Creates an eIndex record based on the database schema index definition
|
|
|
|
CHARACTER EntityClassNameFromTempTableName (character, character)
|
Derives the EntityClassName from the temp-table name or the caller-supplied custom name
Notes : When pcTempTableName is empty the class name is the last dot-separated entry of
pcCurrentTempTableName (the value already stored in eTable.TempTableName before the
rename). When pcTempTableName is provided the DefaultTablePrefix is stripped from
the front (if present) and the DefaultTableSuffix is stripped from the end (if present).
@param pcCurrentTempTableName The current value of eTable.TempTableName (before any rename)
@param pcTempTableName The optional explicit temp-table name supplied by the caller; empty string means use default
@return The derived EntityClassName
*/
|
|
|
|
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, character, dataset)
|
Generates a single Business Entity, optionally using the explicit
temp-table name passed by the caller for the initial temp-table
Notes : When pcTempTableName is empty, behaviour is identical to the six-argument
overload (default temp-table naming).
@param pcBusinessEntityName The base name for the Business Entity, Data Access and Dataset Controller class name
@param pcPackage The source package for the generated business entities
@param pcDatabase The database name to generate business entities for
@param pcTableName The name of the database tables to be generated
@param pcAdditionalFields The additional fields to be added to the Business Entity (comma delimited list)
@param pcTempTableName Optional explicit name for the initial temp-table; when empty the default naming is used
@param dsBusinessEntity The dataset with the schema information
*/
|
|
|
|
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
|
|
|
|
GenerateBusinessEntity (handle, character, character, character, character, character, character, character, character, logical, character)
|
Generates a single Business Entity, optionally using the explicit
temp-table name passed by the caller
Notes : When pcTempTableName is empty the default naming derived from
DefaultTablePrefix / DefaultTableSuffix is used.
@param phDatabaseDataset The handle to the dataset with the schema information
@param pcPackage The source package for the generated business entities
@param pcBusinessEntityName The base name for the Business Entity, Data Access and Dataset Controller class name
@param pcBusinessEntityNamePattern The name pattern for the Business Entity class name, using &1 for the Table name
@param pcDataAccessNamePattern The name pattern for the Data Access class name, using &1 for the Table name
@param pcDatasetControllerNamePattern The name pattern for the Dataset Controller class name, using &1 for the Table name
@param pcDatabase The database name to generate business entities for
@param pcTableName The name of the database tables to be generated
@param pcAdditionalFields The additional fields to be added to the Business Entity (comma delimited list)
@param plGenerateDatasetModel Generate DatasetModel classes along with the Business Entity
@param pcTempTableName Optional explicit name for the initial temp-table; when empty the default naming is used
*/
|
|
|
|
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
|
|
|
|
SetSearchIndexes (character)
|
Sets the DefaultSearchCodeGeneration flags for indexes of a temp-table
Notes : This is intentionally left blank for the batch generator
@param pcTempTableName The name of the temp-table
*/
|