public final function AddTable(ITable $Table)
{
$this->Tables[$Table->GetName()] = $Table;
$this->Criterion->AddTable($Table);
}
public final function AddRelationToRequest(Relational\Request $Request, array $ParentRows = null) { $Request->AddTable($this->Table); $this->AddConstraintToRequest($Request); if ($ParentRows !== null && count($ParentRows) > 0) { $this->AddParentPredicateToRequest($Request, $ParentRows); } }