public function filterByDealerI18n($dealerI18n, $comparison = null)
    {
        if ($dealerI18n instanceof \Dealer\Model\DealerI18n) {
            return $this
                ->addUsingAlias(DealerTableMap::ID, $dealerI18n->getId(), $comparison);
        } elseif ($dealerI18n instanceof ObjectCollection) {
            return $this
                ->useDealerI18nQuery()
                ->filterByPrimaryKeys($dealerI18n->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerI18n() only accepts arguments of type \Dealer\Model\DealerI18n or Collection');
        }
    }