Top Method Summary
Options Name Purpose
CHARACTER ChildCardinalityWhenAvailable (character) Returns the value of the ChildCardinality field when a record is available
CHARACTER ChildRoleDescriptionWhenAvailable (character) Returns the value of the ChildRoleDescription field when a record is available
CHARACTER ChildTableGUIDWhenAvailable (character) Returns the value of the ChildTableGUID field when a record is available
CHARACTER ChildTableNameWhenAvailable (character) Returns the value of the ChildTableName field when a record is available
Consultingwerk.SmartFramework.System.SmartRelationTableModel CreateCurrentRecordView () Creates a new instance of the SmartRelationTableModel as a view model for the current record
Consultingwerk.SmartFramework.System.SmartRelationTableModel CreateView () Creates a new instance of the SmartRelationTableModel as a view model
LOGICAL DefaultParentRelationWhenAvailable (logical) Returns the value of the DefaultParentRelation field when a record is available
Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (IFetchDataByKeyTableParameter) Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (SmartRelationQuery) Fills the TableModel or filters the View TableModel based on the given TableQuery
Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (SmartRelationQuery, OnNotAvailableEnum) Fills the TableModel or filters the View TableModel based on the given TableQuery
LOGICAL InactiveWhenAvailable (logical) Returns the value of the Inactive field when a record is available
CHARACTER OnParentDeleteWhenAvailable (character) Returns the value of the OnParentDelete field when a record is available
CHARACTER ParentCardinalityWhenAvailable (character) Returns the value of the ParentCardinality field when a record is available
CHARACTER ParentRoleDescriptionWhenAvailable (character) Returns the value of the ParentRoleDescription field when a record is available
CHARACTER ParentTableGUIDWhenAvailable (character) Returns the value of the ParentTableGUID field when a record is available
CHARACTER ParentTableNameWhenAvailable (character) Returns the value of the ParentTableName field when a record is available
CHARACTER RelationDescriptionWhenAvailable (character) Returns the value of the RelationDescription field when a record is available
CHARACTER RelationFieldPairWhenAvailable (character) Returns the value of the RelationFieldPair field when a record is available
CHARACTER RelationGuidWhenAvailable (character) Returns the value of the RelationGuid field when a record is available
CHARACTER RelationNameWhenAvailable (character) Returns the value of the RelationName field when a record is available
Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter ResetFilter () Resets the TableModel Filter
Consultingwerk.SmartFramework.System.SmartRelationTableModel SetBatching (logical) Sets the Batching property
LOGICAL SmartAttachmentsWhenAvailable (logical) Returns the value of the SmartAttachments field when a record is available
LOGICAL SmartCommentsWhenAvailable (logical) Returns the value of the SmartComments field when a record is available
CHARACTER SmartRecordKeyWhenAvailable (character) Returns the value of the SmartRecordKey field when a record is available

Top Constructor Summary
Options Name Purpose
SmartRelationTableModel_Generated () Constructor for the SmartRelationTableModel_Generated class
SmartRelationTableModel_Generated (DatasetModel, handle) Constructor for the SmartRelationTableModel_Generated class
SmartRelationTableModel_Generated (handle) Constructor for the SmartRelationTableModel class
SmartRelationTableModel_Generated (handle, BufferModelGcModeEnum) Constructor for the SmartRelationTableModel class
SmartRelationTableModel_Generated (SmartRelationTableModel, handle) Constructor for the SmartRelationTableModel_Generated class

Top Property Summary
Options Name Purpose
CHARACTER ChildCardinality
CHARACTER ChildRoleDescription
CHARACTER ChildTableGUID
CHARACTER ChildTableName
LOGICAL DefaultParentRelation
Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter Filter
LOGICAL Inactive
CHARACTER OnParentDelete
CHARACTER ParentCardinality
CHARACTER ParentRoleDescription
CHARACTER ParentTableGUID
CHARACTER ParentTableName
CHARACTER RelationDescription
CHARACTER RelationFieldPair
CHARACTER RelationGuid
CHARACTER RelationName
LOGICAL SmartAttachments
LOGICAL SmartComments
CHARACTER SmartRecordKey
Consultingwerk.SmartFramework.System.SmartRelationTableModelSort SortBy


Method Detail
Top

CHARACTER ChildCardinalityWhenAvailable (character)

Purpose: Returns the value of the ChildCardinality field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ChildRoleDescriptionWhenAvailable (character)

Purpose: Returns the value of the ChildRoleDescription field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ChildTableGUIDWhenAvailable (character)

Purpose: Returns the value of the ChildTableGUID field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ChildTableNameWhenAvailable (character)

Purpose: Returns the value of the ChildTableName field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel CreateCurrentRecordView ()

Purpose: Creates a new instance of the SmartRelationTableModel as a view model for the current record
Notes:

Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The SmartRelationTableModel as the view model
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel CreateView ()

Purpose: Creates a new instance of the SmartRelationTableModel as a view model
Notes:

Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The SmartRelationTableModel as the view model
Top

LOGICAL DefaultParentRelationWhenAvailable (logical)

Purpose: Returns the value of the DefaultParentRelation field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (IFetchDataByKeyTableParameter)

Purpose: Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Notes: The Tables property of the IFetchDataByKeyTableParameter should match the
FillChildTables property of the TableModel instance

Parameters:
poFetchDataByKeyTableParameter Consultingwerk.OERA.IFetchDataByKeyTableParameter
The IFetchDataByKeyTableParameter to populate the DatasetModel with
Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (SmartRelationQuery)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.System.SmartRelationQuery
The reference to the SmartRelationTableModelQuery
Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel Fill (SmartRelationQuery, OnNotAvailableEnum)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.System.SmartRelationQuery
The reference to the SmartRelationTableModelQuery
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not available
Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The reference to this TableModel instance
Top

LOGICAL InactiveWhenAvailable (logical)

Purpose: Returns the value of the Inactive field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available
Top

CHARACTER OnParentDeleteWhenAvailable (character)

Purpose: Returns the value of the OnParentDelete field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ParentCardinalityWhenAvailable (character)

Purpose: Returns the value of the ParentCardinality field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ParentRoleDescriptionWhenAvailable (character)

Purpose: Returns the value of the ParentRoleDescription field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ParentTableGUIDWhenAvailable (character)

Purpose: Returns the value of the ParentTableGUID field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER ParentTableNameWhenAvailable (character)

Purpose: Returns the value of the ParentTableName field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER RelationDescriptionWhenAvailable (character)

Purpose: Returns the value of the RelationDescription field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER RelationFieldPairWhenAvailable (character)

Purpose: Returns the value of the RelationFieldPair field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER RelationGuidWhenAvailable (character)

Purpose: Returns the value of the RelationGuid field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER RelationNameWhenAvailable (character)

Purpose: Returns the value of the RelationName field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter ResetFilter ()

Purpose: Resets the TableModel Filter
Notes: Strong-typed variant of the TableModelFilter:Reset() method

Returns Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter
The SmartRelationTableModelFilter instance
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModel SetBatching (logical)

Purpose: Sets the Batching property
Notes: Fluent interface

Parameters:
plBatching LOGICAL
Logical value indicating if Batching should be used
Returns Consultingwerk.SmartFramework.System.SmartRelationTableModel
The reference to the &1 instance itself
Top

LOGICAL SmartAttachmentsWhenAvailable (logical)

Purpose: Returns the value of the SmartAttachments field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available
Top

LOGICAL SmartCommentsWhenAvailable (logical)

Purpose: Returns the value of the SmartComments field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available
Top

CHARACTER SmartRecordKeyWhenAvailable (character)

Purpose: Returns the value of the SmartRecordKey field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available


Constructor Detail
Top

SmartRelationTableModel_Generated ()

Purpose: Constructor for the SmartRelationTableModel_Generated class
Notes: Creates a buffer model based on a dynamic internal temp-table in the model class

Top

SmartRelationTableModel_Generated (DatasetModel, handle)

Purpose: Constructor for the SmartRelationTableModel_Generated class
Notes:

Parameters:
poDatasetModel Consultingwerk.OERA.DatasetModel
The reference to the owning DatasetModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartRelationTableModel_Generated (handle)

Purpose: Constructor for the SmartRelationTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartRelationTableModel_Generated (handle, BufferModelGcModeEnum)

Purpose: Constructor for the SmartRelationTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
poGcMode Consultingwerk.OERA.BufferModelGcModeEnum
The BufferModelGcModeEnum describing if the buffer or table handle should be deleted with the BufferModel instance
Top

SmartRelationTableModel_Generated (SmartRelationTableModel, handle)

Purpose: Constructor for the SmartRelationTableModel_Generated class
Notes: Creates a view model

Parameters:
poTableModel Consultingwerk.SmartFramework.System.SmartRelationTableModel
The reference to SmartRelationTableModel on which this SmartRelationTableModel servers as a ViewModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents


Property Detail
Top

CHARACTER ChildCardinality


Returns CHARACTER
Top

CHARACTER ChildRoleDescription


Returns CHARACTER
Top

CHARACTER ChildTableGUID


Returns CHARACTER
Top

CHARACTER ChildTableName


Returns CHARACTER
Top

LOGICAL DefaultParentRelation


Returns LOGICAL
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter Filter


Returns Consultingwerk.SmartFramework.System.SmartRelationTableModelFilter
Top

LOGICAL Inactive


Returns LOGICAL
Top

CHARACTER OnParentDelete


Returns CHARACTER
Top

CHARACTER ParentCardinality


Returns CHARACTER
Top

CHARACTER ParentRoleDescription


Returns CHARACTER
Top

CHARACTER ParentTableGUID


Returns CHARACTER
Top

CHARACTER ParentTableName


Returns CHARACTER
Top

CHARACTER RelationDescription


Returns CHARACTER
Top

CHARACTER RelationFieldPair


Returns CHARACTER
Top

CHARACTER RelationGuid


Returns CHARACTER
Top

CHARACTER RelationName


Returns CHARACTER
Top

LOGICAL SmartAttachments


Returns LOGICAL
Top

LOGICAL SmartComments


Returns LOGICAL
Top

CHARACTER SmartRecordKey


Returns CHARACTER
Top

Consultingwerk.SmartFramework.System.SmartRelationTableModelSort SortBy


Returns Consultingwerk.SmartFramework.System.SmartRelationTableModelSort


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