Skip to content

Instantly share code, notes, and snippets.

@tswann
Created September 21, 2011 12:23
Show Gist options
  • Save tswann/1231900 to your computer and use it in GitHub Desktop.
Save tswann/1231900 to your computer and use it in GitHub Desktop.
Create a new dynamics crm 2011 contact entity
Contact contact = new Contact()
{
FirstName = "Testing",
LastName = "McTesterson"
};
_context.AddObject(contact);
_context.SaveChanges();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment