how i ieditableobject.endedit atomic?


if i have an castle category implements ieditableobject, i competence have endedit doing this:



public vacant endedit()
{
// beginedit have set _editinprogress save *editing fields
(_editinprogress)
{
_line1 = _line1editing;
_line2 = _line2editing;
_city = _cityediting;
_state = _stateediting;
_postalcode = _postalcodeediting;
_editinprogress = false;
}
}


if there an difference _city, following _line1, _line2, presumably _city should revert.
this problem isn't unparalleled endedit nonetheless substantially found places well.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?