If you have not read my post Resolving Concurrency conflicts in LINQ then I strongly recommend you to read that. This post is a simple added extension of said post.
After reading resolving concurrency conflict in LINQ you are pretty much aware of resolving mechanism of concurrency conflicts. Now assume a requirement that you need to print or fetch
- Current value of object
- Original value of object on context
- Current data base value.
This is very much possible by
- Enumerating over MemberConflicts of ChangeConflict object.
- Fetching MemberChangeConflict in object of MemberConflict
No comments:
Post a Comment