TDAJoinSourceTable

Overview

The TDAJoinSourceTable class represents the source table in a specified JOIN statement.

The TDAJoinSourceTable class is part of the TDAJoinSourceTableCollection, which is used to create JOIN statements by the Query Builder in automatic mode.

You can use the TDAJoinSourceTable class in the specified TDASchema component as part of the JoinDataTables property.

Location

 

constructor Create  override

Creates a new instance.

constructor Create(Collection: TCollection)

Parameters:

  • Collection: Specified input collection

Assign  override

Copies data from a given source.

procedure Assign(aSource: TPersistent)

Parameters:

  • aSource: Instance whose properties will be copied

GetDisplayName  protected override

Returns the display name of the current TDAJoinSourceTable object. If the Name property is empty, <Noname> will be returned, in other cases, the Name property will be returned.

function GetDisplayName: string

JoinConditions

Represents the collection of JOIN conditions (TDAJoinCondition elements) that are related with the current TDAJoinSourceTable object. This property is read-only.

property JoinConditions: TDAJoinConditionCollection read write

JoinType

Represents the JOIN type that is related with the current TDAJoinSourceTable object. This property can have the following values: jtInner, jtLeftOuter, jtRightOuter, jtFullOuter or jtCross.

property JoinType: TDAJoinType read write

Name

Represents the display name of the current TDAJoinSourceTable object.

property Name: string read write

SetName  protected

Sets the new name of the current TDAJoinSourceTable object. If the old name (the old value of the Name property) is not empty, the TriggerOnItemRenamed trigger will be called.

procedure SetName(const Value: string)

Parameters:

  • Value: New name of the current TDAJoinSourceTable object.

 

JoinConditions

Represents the collection of JOIN conditions (TDAJoinCondition elements) that are related with the current TDAJoinSourceTable object. This property is read-only.

property JoinConditions: TDAJoinConditionCollection read write

JoinType

Represents the JOIN type that is related with the current TDAJoinSourceTable object. This property can have the following values: jtInner, jtLeftOuter, jtRightOuter, jtFullOuter or jtCross.

property JoinType: TDAJoinType read write

Name

Represents the display name of the current TDAJoinSourceTable object.

property Name: string read write

 

constructor Create  override

Creates a new instance.

constructor Create(Collection: TCollection)

Parameters:

  • Collection: Specified input collection

Assign  override

Copies data from a given source.

procedure Assign(aSource: TPersistent)

Parameters:

  • aSource: Instance whose properties will be copied

GetDisplayName  protected override

Returns the display name of the current TDAJoinSourceTable object. If the Name property is empty, <Noname> will be returned, in other cases, the Name property will be returned.

function GetDisplayName: string

SetName  protected

Sets the new name of the current TDAJoinSourceTable object. If the old name (the old value of the Name property) is not empty, the TriggerOnItemRenamed trigger will be called.

procedure SetName(const Value: string)

Parameters:

  • Value: New name of the current TDAJoinSourceTable object.

See Also