0
XugoWebTeam created
Hi Team,
Can we have a switch to select Optimistic Locking and Pessimistic Locking on different entities in future release? Some higher security data we want it is always edited under max 1 user only. Other normal data use optimistic locking will be fine.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
For Pessimistic concurrency (locking):
... not all database management systems support pessimistic concurrency. Entity Framework Core provides no built-in support for it
For optimistic concurrency:
EF Optimistic Concurrency Handling For locking in code:
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)