Skip to content

Instantly share code, notes, and snippets.

@angelobelchior
Created April 7, 2015 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelobelchior/b418c8b6134d70ad5faf to your computer and use it in GitHub Desktop.
Save angelobelchior/b418c8b6134d70ad5faf to your computer and use it in GitHub Desktop.
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