I've solved this problem in a different way:

First, I wrote an Assign() method on my entity that copies all of the
property values across, giving an exact copy.
Next, invoke the UI to make changes (through databinding) to a copy of
my topic entity
Last, only use Assign() to copy the values back to the original if the
user chooses to save changes

This way, the original instance isn't modified until we know a save is
required; a side benefit is that other forms in the same application
also don't show changes until the're confirmed.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to