For example we have some busines object we want to edit. Editing occures in separate dialog.
Dialog has a ViewModel containing as a property this BusinesObject.
Dialog contains some fields(TextBoxes, ComboBoxes e.t.c.).
What is the best way to implement editing of BusinesObject?
First approatch I have in mind: Create a clone of object. On accepting editings copy value of clone to original one. Is this ok for MVVM? So all my BusinessObject ViewModels have to be IClonable?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire