Ejemplo n.º 1
0
 /**
  * @param CAccount $oAccount
  * @return bool
  */
 public function UpdateAccount(CAccount $oAccount)
 {
     $bResult = (bool) ($this->oConnection->Execute($this->oCommandCreator->UpdateAccount($oAccount)) && $this->oConnection->Execute($this->oCommandCreator->UpdateUser($oAccount->User)));
     $this->throwDbExceptionIfExist();
     return $bResult;
 }