Method | Description | |
---|---|---|
ClearDirty ( ) : void | ||
Customer ( ) : System | ||
Save ( ) : void |
This would save the changes made to the Customer to a database or web service. In this sample, we don't really do any persistence, so we simply clear the IsDirty flag to pretend that the Customer has been saved.
|
Method | Description | |
---|---|---|
RaisePropertyChanged ( string propName ) : void |
We wrap raising property changes in a method so that we can always make this Customer dirty when one of its properties changes.
|