Implementing Undo/Redo feature for dbcontext of Entity Framework
Http://www.codeproject.com/Articles/474279/Implementing-Undo-Redo-feature-for-DbContext-of-En
I was curious about change tracking and property valuesDbContext And while playing with that I decided to write snapshot manager which wocould take snapshot of my each changes by storing entries and this manager also allow me to backward and forward my changesDbContext. The undo and redo features allow you to easily correct mistakes or based on some scenario, as well as free you to experiment with different routing and data mapping decisions. undo reverses the last action you performed med, and redo undoes the last undo action.
========================================================== ======================================
If dbcontext shares one item during the request, when the error entityvalidationerrors occurs in savechanges (), the subsequent normal submission and saving will be affected. The undo mentioned above can be used to solve the problem.