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
Post a Comment