public void Salvar() { try { if (iId == 0) { this.iId = aTbVeiculoDAO.Incluir(this); } else { aTbVeiculoDAO.Alterar(this); } } catch (Exception ex) { throw new Exception("salvar o registro"); } finally { Conexao.CloseConnection(); } }