public function AddParentPredicateToRequest(Relational\Request $Request, array $ParentRows) { if (count($ParentRows) > 1) { $Request->AddColumns($this->ParentForeignKey->GetParentColumns()); } parent::AddParentPredicateToRequest($Request, $ParentRows); }
public function __construct(ForeignKey $ForeignKey) { parent::__construct($ForeignKey, $ForeignKey->GetParentTable(), Relational\DependencyOrder::Before, Relational\DependencyOrder::Before); }