Пример #1
0
 /**
  * @param Account $account
  * @return bool
  */
 function InsertAccountData(&$account)
 {
     if (!$this->_connector->Execute($this->_commandCreator->InsertAccount($account))) {
         return false;
     }
     $account->Id = $this->_connector->GetLastInsertId();
     return true;
 }