Namespace: Consultingwerk.BusinessEntityDesigner.Services
Interface 
IDataRelationInitializer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.BusinessEntityDesigner.Services.DataRelationInitializer

File:IDataRelationInitializer
Purpose:Service that supports initialization of new Data Relations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Sep 23 06:32:58 CEST 2021



Top Method Summary
Options Name Purpose
+ LOGICAL HasActiveParentRelation (dataset, character) Returns TRUE if the given temp-table has an active parent data relation
+ LOGICAL HasParentRelation (dataset, character) Returns TRUE if the given temp-table has a parent data relation
+ ROWID InitializeDataRelation (IServiceContainer, dataset, rowid, rowid, logical) Creates and initializes a new eDataRelationRecord


Method Detail
Top

PUBLIC LOGICAL HasActiveParentRelation (dataset, character)

Purpose: Returns TRUE if the given temp-table has an active parent data relation
Notes: Used for validation when adding a new parent relation to a temp-table
(timer1_Tick in BusinessEntityDesignerForm)

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
Dataset, passed by-reference
pcTempTable CHARACTER
The Name of the Temp-Table to check for parent relations
Returns LOGICAL
Logical value indicating if the temp-table has an active parent relation
Top

PUBLIC LOGICAL HasParentRelation (dataset, character)

Purpose: Returns TRUE if the given temp-table has a parent data relation
Notes: Used for validation when adding a new parent relation to a temp-table
(timer1_Tick in BusinessEntityDesignerForm)

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
Dataset, passed by-reference
pcTempTable CHARACTER
The Name of the Temp-Table to check for parent relations
Returns LOGICAL
Logical value indicating if the temp-table has a parent relation
Top

PUBLIC ROWID InitializeDataRelation (IServiceContainer, dataset, rowid, rowid, logical)

Purpose: Creates and initializes a new eDataRelationRecord
Notes:

Parameters:
poServiceContainer Consultingwerk.Framework.IServiceContainer
The instance of the Service Container used by the Business Entity Designer
dsBusinessEntity DATASET dsBusinessEntity
Dataset, passed by-reference
poParentTableRowid ROWID
The ROWID of the parent table
poChildTableRowid ROWID
The ROWID of the child table
plActive LOGICAL
ACTIVE Flag of the new data-relation
Returns ROWID
The ROWID of the eDataRelation record


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-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:57:17