c# - Having a copy of an object instead of a locked one -


is there way of, instead of locking object, show temporary copy of it, 1 accessing it?

wrap code uses object in case critical resource, transactionscope , set isolationlevel snapshot.

that way, trying access same object should see value before editing object, until transaction complete.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

React Native allow user to reorder elements in a scrollview list -

multithreading - Exception in Application constructor -