Skip to content

Instantly share code, notes, and snippets.

Created Apr 4, 2012
What would you like to do?
var db = new PortalContext();
var profile = new Profile()
Id = 20,
FirstName = "Tyler",
LastName = "Durden"
db.Entry(profile).State = EntityState.Modified;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment