public function filterByDealerContactVersion($dealerContactVersion, $comparison = null)
    {
        if ($dealerContactVersion instanceof \Dealer\Model\DealerContactVersion) {
            return $this
                ->addUsingAlias(DealerContactTableMap::ID, $dealerContactVersion->getId(), $comparison);
        } elseif ($dealerContactVersion instanceof ObjectCollection) {
            return $this
                ->useDealerContactVersionQuery()
                ->filterByPrimaryKeys($dealerContactVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerContactVersion() only accepts arguments of type \Dealer\Model\DealerContactVersion or Collection');
        }
    }
public function filterByDealerContactVersion($dealerContactVersion, $comparison = null)
    {
        if ($dealerContactVersion instanceof \Dealer\Model\DealerContactVersion) {
            return $this
                ->addUsingAlias(DealerContactTableMap::ID, $dealerContactVersion->getId(), $comparison);
        } elseif ($dealerContactVersion instanceof ObjectCollection) {
            return $this
                ->useDealerContactVersionQuery()
                ->filterByPrimaryKeys($dealerContactVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerContactVersion() only accepts arguments of type \Dealer\Model\DealerContactVersion or Collection');
        }
    }
public function filterByDealerContactVersion ( $ dealerContactVersion , $ comparison = null ) { if ( $ dealerContactVersion instanceof \ Dealer \ Model \ DealerContactVersion ) { return $ this -> addUsingAlias ( DealerContactTableMap :: ID , $ dealerContactVersion -> getId ( ) , $ comparison ) ; } elseif ( $ dealerContactVersion instanceof ObjectCollection ) { return $ this -> useDealerContactVersionQuery ( ) -> filterByPrimaryKeys ( $ dealerContactVersion -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByDealerContactVersion() only accepts arguments of type \Dealer\Model\DealerContactVersion or Collection' ) ; } }
Filter the query by a related \Dealer\Model\DealerContactVersion object

@param \Dealer\Model\DealerContactVersion|ObjectCollection $dealerContactVersion  the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildDealerContactQuery The current query, for fluid interface
Filter the query by a related \ Dealer \ Model \ DealerContactVersion object