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
Post a Comment