Namespace: Consultingwerk.SmartFramework.System
Class 
SmartTable Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartFramework.System.SmartTable_Generated

File:SmartTable
Author(s):Mike Fechner
Created:27.11.2012 23:45:01
Purpose: Constructor of the SmartTable class
Notes:



Top Method Summary
Options Name Purpose
# A AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.SmartFramework.System.SmartTable_Generated:AssignFromBuffer (handle)
# A AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.SmartFramework.System.SmartTable_Generated:AssignToBuffer (handle)
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
Inherited from Consultingwerk.OERA.EntityTable
# GetChildRecords (handle, character, Object, character) Populates a List of child records
Inherited from Consultingwerk.OERA.EntityTable
+ InitializeNewRow () Initializes a New row
Inherited from Consultingwerk.OERA.EntityTable
# OnAllowAttachmentsChanged (EventArgs) Raises the AllowAttachmentsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnAllowCommentsChanged (EventArgs) Raises the AllowCommentsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnDatabaseNameChanged (EventArgs) Raises the DatabaseNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnDescriptionFieldsChanged (EventArgs) Raises the DescriptionFieldsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnDescriptionFormatsChanged (EventArgs) Raises the DescriptionFormatsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnDescriptionSubstituteChanged (EventArgs) Raises the DescriptionSubstituteChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnQualifiedTableNameChanged (EventArgs) Raises the QualifiedTableNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnTableDescriptionChanged (EventArgs) Raises the TableDescriptionChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnTableGUIDChanged (EventArgs) Raises the TableGUIDChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnTableNameChanged (EventArgs) Raises the TableNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnTempTableNameChanged (EventArgs) Raises the TempTableNameChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnUniqueKeyFieldsChanged (EventArgs) Raises the UniqueKeyFieldsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnUniqueKeyFormatsChanged (EventArgs) Raises the UniqueKeyFormatsChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
# OnUniqueKeySubstituteChanged (EventArgs) Raises the UniqueKeySubstituteChanged event
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
# SetModified () Set's the current row to modified
Inherited from Consultingwerk.OERA.EntityTable

Top Constructor Summary
Options Name Purpose
+ SmartTable () Constructor of the SmartTable class
+ SmartTable (handle) Constructor of the SmartTable class

Top Event Summary
Options Name Purpose
+ AllowAttachmentsChanged (Object, EventArgs) Raised when the AllowAttachments property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ AllowCommentsChanged (Object, EventArgs) Raised when the AllowComments property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ DatabaseNameChanged (Object, EventArgs) Raised when the DatabaseName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ DescriptionFieldsChanged (Object, EventArgs) Raised when the DescriptionFields property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ DescriptionFormatsChanged (Object, EventArgs) Raised when the DescriptionFormats property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ DescriptionSubstituteChanged (Object, EventArgs) Raised when the DescriptionSubstitute property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ QualifiedTableNameChanged (Object, EventArgs) Raised when the QualifiedTableName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ TableDescriptionChanged (Object, EventArgs) Raised when the TableDescription property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ TableGUIDChanged (Object, EventArgs) Raised when the TableGUID property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ TableNameChanged (Object, EventArgs) Raised when the TableName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ TempTableNameChanged (Object, EventArgs) Raised when the TempTableName property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ UniqueKeyFieldsChanged (Object, EventArgs) Raised when the UniqueKeyFields property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ UniqueKeyFormatsChanged (Object, EventArgs) Raised when the UniqueKeyFormats property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ UniqueKeySubstituteChanged (Object, EventArgs) Raised when the UniqueKeySubstitute property value changes
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Top Property Summary
Options Name Purpose
+ LOGICAL AllowAttachments
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ LOGICAL AllowComments
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER DatabaseName
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER DescriptionFields
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER DescriptionFormats
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER DescriptionSubstitute
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER QualifiedTableName
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ RowStateEnum RowState
Inherited from Consultingwerk.OERA.EntityTable
+ CHARACTER TableDescription
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER TableGUID
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER TableName
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER TempTableName
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER UniqueKeyFields
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER UniqueKeyFormats
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
+ CHARACTER UniqueKeySubstitute
Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.SmartFramework.System.SmartTable_Generated:AssignFromBuffer (handle)
Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the source buffer
Top

PROTECTED AssignToBuffer (handle)

Overrides Consultingwerk.SmartFramework.System.SmartTable_Generated:AssignToBuffer (handle)
Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the target buffer
Top

PROTECTED HANDLE GetChildRecord (handle, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the first (and typically only) child record of a to-one
relation
Notes:

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
Returns HANDLE
The handle of the child record, already located to the first record (if any)
Top

PROTECTED GetChildRecords (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List of child records
Notes: As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
poList Progress.Lang.Object
The List to populate
pcClassName CHARACTER
The name of the ChildClass
Top

PUBLIC InitializeNewRow ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Initializes a New row
Notes: Provides a method to provide initial values when records are added to
differentiate from the Constructor usage when Rows are populate based
on existing DB records
Override this method to provide initial values

Top

PROTECTED OnAllowAttachmentsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the AllowAttachmentsChanged event
Notes:

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

PROTECTED OnAllowCommentsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the AllowCommentsChanged event
Notes:

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

PROTECTED OnDatabaseNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the DatabaseNameChanged event
Notes:

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

PROTECTED OnDescriptionFieldsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the DescriptionFieldsChanged event
Notes:

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

PROTECTED OnDescriptionFormatsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the DescriptionFormatsChanged event
Notes:

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

PROTECTED OnDescriptionSubstituteChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the DescriptionSubstituteChanged event
Notes:

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

PROTECTED OnQualifiedTableNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the QualifiedTableNameChanged event
Notes:

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

PROTECTED OnTableDescriptionChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the TableDescriptionChanged event
Notes:

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

PROTECTED OnTableGUIDChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the TableGUIDChanged event
Notes:

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

PROTECTED OnTableNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the TableNameChanged event
Notes:

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

PROTECTED OnTempTableNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the TempTableNameChanged event
Notes:

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

PROTECTED OnUniqueKeyFieldsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the UniqueKeyFieldsChanged event
Notes:

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

PROTECTED OnUniqueKeyFormatsChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the UniqueKeyFormatsChanged event
Notes:

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

PROTECTED OnUniqueKeySubstituteChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raises the UniqueKeySubstituteChanged event
Notes:

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

PUBLIC PopulateList (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes: Selects the buffer records using an optional Query string
As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
pcQueryString CHARACTER
The QueryString to use while populating the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PUBLIC PopulateList (handle, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Populates a List object with EntityTable objects for buffers
Notes:

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PROTECTED SetModified ()

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Set's the current row to modified
Notes: When the RowState is Add or Deleted it will not be changed



Constructor Detail
Top

PUBLIC SmartTable ()

Purpose: Constructor of the SmartTable class
Notes:

Top

PUBLIC SmartTable (handle)

Purpose: Constructor of the SmartTable class
Notes:

Parameters:
phBuffer HANDLE
A source buffer to copy the values from


Event Detail
Top

PUBLIC AllowAttachmentsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the AllowAttachments property value changes
Notes:

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

PUBLIC AllowCommentsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the AllowComments property value changes
Notes:

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

PUBLIC DatabaseNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the DatabaseName property value changes
Notes:

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

PUBLIC DescriptionFieldsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the DescriptionFields property value changes
Notes:

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

PUBLIC DescriptionFormatsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the DescriptionFormats property value changes
Notes:

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

PUBLIC DescriptionSubstituteChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the DescriptionSubstitute property value changes
Notes:

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

PUBLIC QualifiedTableNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the QualifiedTableName property value changes
Notes:

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

PUBLIC TableDescriptionChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the TableDescription property value changes
Notes:

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

PUBLIC TableGUIDChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the TableGUID property value changes
Notes:

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

PUBLIC TableNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the TableName property value changes
Notes:

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

PUBLIC TempTableNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the TempTableName property value changes
Notes:

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

PUBLIC UniqueKeyFieldsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the UniqueKeyFields property value changes
Notes:

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

PUBLIC UniqueKeyFormatsChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the UniqueKeyFormats property value changes
Notes:

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

PUBLIC UniqueKeySubstituteChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated
Purpose: Raised when the UniqueKeySubstitute property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Property Detail
Top

PUBLIC LOGICAL AllowAttachments

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns LOGICAL
Top

PUBLIC LOGICAL AllowComments

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns LOGICAL
Top

PUBLIC CHARACTER DatabaseName

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER DescriptionFields

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER DescriptionFormats

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER DescriptionSubstitute

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER QualifiedTableName

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable

Returns RowStateEnum
Top

PUBLIC CHARACTER TableDescription

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER TableGUID

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER TableName

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER TempTableName

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER UniqueKeyFields

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER UniqueKeyFormats

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER UniqueKeySubstitute

Inherited from Consultingwerk.SmartFramework.System.SmartTable_Generated

Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:19:24