Override OnPropertyChanged in your business object - this is where that sort of code should typically be.
Param passed to the method is the property name, which you'll just need to compare against the static propertyinfo's property name.
Hope that helps,
Chris
skagen00:Override OnPropertyChanged in your business object - this is where that sort of code should typically be.
Param passed to the method is the property name, which you'll just need to compare against the static propertyinfo's property name.
Hope that helps,
Chris
I think I was in that discussion you're mentioning - even if PropertyInfo was passed instead of string, though, we'd still need the if/then statements... not sure how one might get around that one unless perhaps you used string constants when registering your properties - then you could use a case on the various constants.
6 on one, half a dozen....
Chris
Copyright (c) Marimer LLC