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