Skip to content

Instantly share code, notes, and snippets.

@rcurlette
Created January 4, 2013 11:25
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 rcurlette/4451882 to your computer and use it in GitHub Desktop.
Save rcurlette/4451882 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceStack.DataAnnotations;
namespace OrmLiteExample
{
class Note
{
[AutoIncrement] // Creates Auto primary key
public int Id { get; set; }
public string SchemaUri { get; set; }
public string NoteText { get; set; }
public DateTime? LastUpdated { get; set; }
public string UpdatedBy { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment