From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books
The framework supported manner is to override PropertyHasChanged in the business object, which only is fired if a property value has changed - I realize the location is separated from the setter which may be undesirable for some, but just wanted to make sure you were aware of that.
Chris
skagen00: The framework supported manner is to override PropertyHasChanged in the business object, which only is fired if a property value has changed - I realize the location is separated from the setter which may be undesirable for some, but just wanted to make sure you were aware of that. Chris
An almost equivalent mechanism is to implement a business rule associated with the property ("almost" because the rule will also fire if you call CheckRules explicitly even if the property hasn't changed). However, careful implementation of the business rule logic can achieve the same results as a PropertyHasChanged override and is somewhat cleaner IMHO.