Skip to content

Instantly share code, notes, and snippets.

@anujb
Created July 30, 2011 04:51
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 anujb/1115212 to your computer and use it in GitHub Desktop.
Save anujb/1115212 to your computer and use it in GitHub Desktop.
Vici MonoTouch Example
[MapTo("customer")]
public class Customer : CSObject<Customer,int>
{
public int CustomerID { get { return (int)GetField("CustomerID"); } }
public string Name { get { return (string)GetField("Name"); } set { SetField("Name",value); } }
public string City { get { return (string)GetField("City"); } set { SetField("City",value); } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment