/**
  * Remove o registro atual
  *
  * @return bool
  */
 function exclui()
 {
     if (is_numeric($this->idlog)) {
         $objEndPessoa = new clsEnderecoPessoa();
         $listaEndPessoa = $objEndPessoa->lista(false, false, false, false, false, $this->idlog);
         $objCepLog = new clsCepLogradouro();
         $listaCepLog = $objCepLog->lista(false, $this->idlog);
         $objCepLogBai = new clsCepLogradouroBairro();
         $listaCepLogBai = $objCepLogBai->lista($this->idlog);
         if (!count($listaEndPessoa) && !count($listaCepLog) && !count($listaCepLogBai)) {
             $db = new clsBanco();
             //$db->Consulta("DELETE FROM {$this->schema}.{$this->tabela} WHERE idlog={$this->idlog}");
             return true;
         }
         return false;
     }
     return false;
 }