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/8374a5c9ee37d9e72d60013b650013a3 to your computer and use it in GitHub Desktop.
Save JonathanMagnan/8374a5c9ee37d9e72d60013b650013a3 to your computer and use it in GitHub Desktop.
using (var ctx = new EntitiesContext())
{
ctx.BulkSaveChanges(operation =>
{
operation.BulkOperationExecuting = bulkOperation => { /* configuration */ };
});
}
using (var ctx = new EntitiesContext())
{
ctx.BulkSaveChanges(operation =>
{
operation.BulkOperationExecuted = bulkOperation => { /* configuration */ };
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment