-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
BulkUpdate doesn't consider Optimistic Locking #209
Comments
@borisdj Any update about this question? 😏 |
Could you elaborate more on this. SqlBulkCopyOptions has TableLock if that can be of any help to your case. Lib supports attribute [Timestamp] as IsConcurrencyToken. |
Yes, I'm speaking about builder.Property(e => e.SelectedAction)
.IsConcurrencyToken();
builder.Property(e => e.Closed)
.IsConcurrencyToken(); So, when executing the command with the default EF functionalities, there's the WHERE [column_previous_values] = [column_last_tracked_value] clause, added at the end of the Instead, when using |
Support added with latest version 3.4.7+ |
I've opened this dedicated question about Optimistic Locking, from my previous issue (#206).
Looking at SQL generated by
BulkUpdate
method, it seems that Optimistic Locking is not considered.Is is possible to add support for it? Maybe with just as a new
BulkConfig
option?The text was updated successfully, but these errors were encountered: