Last active
January 12, 2017 03:02
-
-
Save JonathanMagnan/fd5c69732de84269f50754784d3215a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctx.BulkSaveChanges(); | |
ctx.BulkInsert(list); | |
ctx.BulkUpdate(list); | |
ctx.BulkDelete(list); | |
ctx.BulkMerge(list); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctx.Customers.Where(x => !x.IsActif).DeleteFromQuery(); | |
ctx.Customers.Where(x => !x.IsActif).UpdateFromQuery(x => new Customer {Actif = true}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment