RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbLookup.QueryBuilder Namespace
RingSoft.DbMaintenance Namespace

SelectQuery..::..AddPrimaryJoinTable Method (JoinTypes, QueryTable, String, String)

Adds a primary join table.

Namespace:  RingSoft.DbLookup.QueryBuilder
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public PrimaryJoinTable AddPrimaryJoinTable(
	JoinTypes joinType,
	QueryTable foreignTable,
	string primaryTableName,
	string alias
)
Public Function AddPrimaryJoinTable ( _
	joinType As JoinTypes, _
	foreignTable As QueryTable, _
	primaryTableName As String, _
	alias As String _
) As PrimaryJoinTable
public:
PrimaryJoinTable^ AddPrimaryJoinTable(
	JoinTypes^ joinType, 
	QueryTable^ foreignTable, 
	String^ primaryTableName, 
	String^ alias
)

Parameters

joinType
Type: RingSoft.DbLookup.QueryBuilder..::..JoinTypes
Type of the join.
foreignTable
Type: RingSoft.DbLookup.QueryBuilder..::..QueryTable
The foreign ("Many") table.
primaryTableName
Type: String
The name of the primary table being joined.
alias
Type: String
The value that appears after the "AS" keyword.

Return Value

The join table object that was created for further configuration.