Skip to content

Instantly share code, notes, and snippets.

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 JonathanMagnan/6b1f82c7a4849937254ac6e5b7970e5d to your computer and use it in GitHub Desktop.
Save JonathanMagnan/6b1f82c7a4849937254ac6e5b7970e5d to your computer and use it in GitHub Desktop.
var ctx = new EntitiesContext();
// Easy to use
ctx.BulkUpdate(list);
// Easy to customize
context.BulkUpdate(customers,
bulk => bulk.ColumnPrimaryKeyExpression = customer => customer.Code; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment