This blog is just a reference to very important article on dealing with a problem when two or more update or delete operations on the same piece of data happen at the same time. This situation could potentially result in data loss.
Explanation : Reduce potential data loss using optimistic concurrencyReduce potential data loss using optimistic concurrency.
Sample Code : Use optimistic concurrency with update and delete operations