# InnerTableLink

constructor(table: Table, sourceTable: IdTable<SID>, target: EntityClass<ID, Target>, _sourceColumn: Column<EntityID<SID>>? = null, _targetColumn: Column<EntityID<ID>>? = null)

#### Parameters

table

The intermediate table containing reference columns to both child and parent entities.

sourceTable

The IdTable associated with the source child entity.

target

The EntityClass for the target parent entity.

_sourceColumn

The intermediate table's reference column for the child entity class. If left `null`, this will be inferred from the provided intermediate table columns.

_targetColumn

The intermediate table's reference column for the parent entity class. If left `null`, this will be inferred from the provided intermediate table columns.