Skip to content

Instantly share code, notes, and snippets.

@tonysneed

tonysneed/ApplyChanges.cs

Last active Oct 1, 2017
Embed
What would you like to do?
// Inform EF about changes in an object graph
context.ApplyChanges(order);
// Persist all changes in a single transaction
context.SaveChanges();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.