/**
  * @param      int $partnerId the partner id
  * @param      PropelPDO $con the connection to use
  * @return     array<MetadataProfile>
  */
 public static function retrieveByPartnerId($partnerId, PropelPDO $con = null)
 {
     $criteria = new Criteria();
     $criteria->add(MetadataProfilePeer::PARTNER_ID, $partnerId);
     self::setUseCriteriaFilter(false);
     $ret = MetadataProfilePeer::doSelectOne($criteria, $con);
     self::setUseCriteriaFilter(true);
     return $ret;
 }