Should return an SQLSelectTableJoins object containing the table or tables to be joined to the primary table. This function is useful in optimising database loading speeds by allowing multiple tables to be joined into one data set. The resultant data set can then be used to load objects from the associated tables avoiding subsequent SQL calls. For a complete example, see the demonstration program. Should return Nothing if no table joins are required. Implementing this function is optional.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected virtual SQLSelectTableJoins TableJoins(
	SQLSelectTable objPrimaryTable,
	SQLSelectTables objTables
)
Visual Basic
Protected Overridable Function TableJoins ( _
	objPrimaryTable As SQLSelectTable, _
	objTables As SQLSelectTables _
) As SQLSelectTableJoins
Visual C++
protected:
virtual SQLSelectTableJoins^ TableJoins(
	SQLSelectTable^ objPrimaryTable, 
	SQLSelectTables^ objTables
)

Parameters

objPrimaryTable
Type: DatabaseObjects.SQL..::..SQLSelectTable

[Missing <param name="objPrimaryTable"/> documentation for "M:DatabaseObjects.DatabaseObjects.TableJoins(DatabaseObjects.SQL.SQLSelectTable,DatabaseObjects.SQL.SQLSelectTables)"]

objTables
Type: DatabaseObjects.SQL..::..SQLSelectTables

[Missing <param name="objTables"/> documentation for "M:DatabaseObjects.DatabaseObjects.TableJoins(DatabaseObjects.SQL.SQLSelectTable,DatabaseObjects.SQL.SQLSelectTables)"]

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.DatabaseObjects.TableJoins(DatabaseObjects.SQL.SQLSelectTable,DatabaseObjects.SQL.SQLSelectTables)"]

Implements

IDatabaseObjects..::..TableJoins(SQLSelectTable, SQLSelectTables)

See Also