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