Skip to content

Commit

Permalink
Corrigida a exceção pega no método "BuscarTodos()", antes "ContatoExc…
Browse files Browse the repository at this point in the history
…eption", agora "ContatoNaoExisteException"
  • Loading branch information
iagocolodetti committed Apr 9, 2019
1 parent 34f7a78 commit 956da5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CSharpDBExemplo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private static void BuscarTodos()
Console.WriteLine("Contato: (ID: " + c.Id + ") " + c.Nome + " | " + c.Telefone + " | " + c.Email);
}
}
catch (ContatoException e)
catch (ContatoNaoExisteException e)
{
Console.WriteLine(e.Message);
}
Expand Down
4 changes: 2 additions & 2 deletions CSharpDBExemplo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// É possível especificar todos os valores ou usar como padrão os Números de Build e da Revisão
// utilizando o "*" como mostrado abaixo:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Projeto simples desenvolvido no Visual Studio (.NET Framework 4.6.1) utilizando
As operações exemplificadas nesse projeto são as de: inserção, leitura, alteração e remoção (CRUD) de contatos no banco de dados MySQL.

* Downloads: https://github.com/iagocolodetti/CSharpDBExemplo/releases
* [Executável (x86)](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.1/CSharpDBExemplo.x86.exe "CSharpDBExemplo.x86.exe")
* [Executável (x64)](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.1/CSharpDBExemplo.x64.exe "CSharpDBExemplo.x64.exe")
* [Arquivo de Script MySQL](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.1/contatodb.sql "contatodb.sql")
* [Código-Fonte](https://github.com/iagocolodetti/CSharpDBExemplo/archive/v1.0.1.zip "v1.0.1.zip")
* [Executável (x86)](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.2/CSharpDBExemplo.x86.exe "CSharpDBExemplo.x86.exe")
* [Executável (x64)](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.2/CSharpDBExemplo.x64.exe "CSharpDBExemplo.x64.exe")
* [Arquivo de Script MySQL](https://github.com/iagocolodetti/CSharpDBExemplo/releases/download/v1.0.2/contatodb.sql "contatodb.sql")
* [Código-Fonte](https://github.com/iagocolodetti/CSharpDBExemplo/archive/v1.0.2.zip "v1.0.2.zip")

- .NET Framework 4.6.1: https://www.microsoft.com/pt-br/download/details.aspx?id=49982

Expand Down

0 comments on commit 956da5b

Please sign in to comment.