Created
April 7, 2015 03:13
-
-
Save angelobelchior/b418c8b6134d70ad5faf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sing System; | |
using SQLite.Net.Attributes; | |
namespace MeuDB | |
{ | |
public class Contato | |
{ | |
[PrimaryKey, AutoIncrement] | |
public int Id { | |
get; | |
set; | |
} | |
public string Nome { | |
get; | |
set; | |
} | |
public string Email { | |
get; | |
set; | |
} | |
public string Telefone { | |
get; | |
set; | |
} | |
public override string ToString () | |
{ | |
return string.Format ("Nome={0}, Email={1}, Telefone={2}]", Nome, Email, Telefone); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment