Last active
January 12, 2017 03:02
-
-
Save JonathanMagnan/1ba3bd3228f85acb253fb69f14c5e828 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
using (var ctx = new EntitiesContext()) | |
{ | |
ctx.BulkSaveChanges(operation => | |
{ | |
operation.RetryCount = 3; | |
}); | |
} |
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
using (var ctx = new EntitiesContext()) | |
{ | |
ctx.BulkSaveChanges(operation => | |
{ | |
operation.RetryCount = 3; | |
operation.RetryInterval = new TimeSpan(100); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment