Validation rule that ONLY runs in response to PropertyHasChanged?

Validation rule that ONLY runs in response to PropertyHasChanged?

Old forum URL: forums.lhotka.net/forums/t/6869.aspx


ajj3085 posted on Wednesday, April 29, 2009

Hi,

I have a need for a business rule that only runs when the PropertyHasChanged is called. It should not be run when ValidationRules.CheckRules is called.

I can hack together a solution using the oldschool Csla property declaration (ie, not using SetProperty, GetProperty), but as I'd like to move to that eventually, whats the best way to go?

Thanks

Copyright (c) Marimer LLC