wpf - Transactional objects in .NET -
The cancel button needs to be implemented when editing certain entities in the user interface. Visual models can make transactional. I will try to explain a bit more detail in detail which means:
The visual model is connected to the model and exposes the data in such a way that it is easy to handle for the scene (using data binding Do) changes in model change as a result of change in model However, if there is a cancellation button, then you usually do not want to change the model immediately, so I think about any type of buffering changes. When you make changes, the model is being moved, otherwise they are removed.
I have now implemented a solution that creates a proxy of the visual model that is not connected to the real visual model proxy model instead of the scene, but using the interceptor changes records in properties and method calls. There is a submission method that applies to invoices on the real visual model. I think this is a very good solution, but it's still quite a buggy (if the visual model is collection and so on).
I'm looking for a framework that does this kind of stuff
Comments
Post a Comment