-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No optimistic concurrency check, when having a RowVersion column and executing the BulkUpdate() method #34
Comments
Hi and thanks for the feedback. I'll look into it as soon as I can! If
possible, please provide a sample of code or pseudocode that I could use to
reproduce the error.
/Måns
Måns Tånneryd
Tånneryd IT AB
Barrskogsvägen 19
186 53 Vallentuna
+46-705140093
https://se.linkedin.com/in/manstanneryd
*https://github.com/mtanneryd/ef6-bulk-operations
<https://github.com/mtanneryd/ef6-bulk-operations>*
Den mån 17 maj 2021 kl 13:33 skrev AntonZhmyrov ***@***.***>:
… Hello!
Thank you for a great and fast library!
Unfortunately, I have run into an issue, when using the BulkUpdate()
method, it does not enforce the optimistic concurrency check.
When having the 'RowVersion' column, and in concurrent scenarios,
BulkUpdate() just overwrites the changes, ignoring the fact that the same
version of data was already modified by different source.
Could you help with that please?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2BSRMCDKD6WOD3KANVNDTTOD5HNANCNFSM45AIXF6A>
.
|
Sure, it is fairly easy to reproduce. Here is some pseudocode:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Thank you for a great and fast library!
Unfortunately, I have run into an issue, when using the BulkUpdate() method, it does not enforce the optimistic concurrency check.
When having the 'RowVersion' column, and in concurrent scenarios, BulkUpdate() just overwrites the changes, ignoring the fact that the same version of data was already modified by different source.
Could you help with that please?
The text was updated successfully, but these errors were encountered: