public function getDealerProduct(ConnectionInterface $con = null)
    {
        if ($this->aDealerProduct === null && ($this->id !== null)) {
            $this->aDealerProduct = ChildDealerProductQuery::create()->findPk($this->id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aDealerProduct->addDealerProductVersions($this);
             */
        }

        return $this->aDealerProduct;
    }
public function getDealerProduct(ConnectionInterface $con = null)
    {
        if ($this->aDealerProduct === null && ($this->id !== null)) {
            $this->aDealerProduct = ChildDealerProductQuery::create()->findPk($this->id, $con);
            /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aDealerProduct->addDealerProductVersions($this);
             */
        }

        return $this->aDealerProduct;
    }
public function getDealerProduct ( ConnectionInterface $ con = null ) { if ( $ this -> aDealerProduct === null && ( $ this -> id !== null ) ) { $ this -> aDealerProduct = ChildDealerProductQuery :: create ( ) -> findPk ( $ this -> id , $ con ) ; /* The following can be used additionally to
                guarantee the related object contains a reference
                to this object.  This level of coupling may, however, be
                undesirable since it could result in an only partially populated collection
                in the referenced object.
                $this->aDealerProduct->addDealerProductVersions($this);
             */ } return $ this -> aDealerProduct ; }
Get the associated ChildDealerProduct object

@param      ConnectionInterface $con Optional Connection object.
@return                 ChildDealerProduct The associated ChildDealerProduct object.
@throws PropelException
Get the associated ChildDealerProduct object