Object Validation

Object Validation

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


Slayer posted on Monday, January 26, 2009

Hi

I know the CSLA 2.0 framework allows for validation at property level. Does any of the frameworks allow for validation at method level ?

Thanks

ajj3085 replied on Monday, January 26, 2009

At some point a CanExecuteMethod was added.. and you can call ValidationRules.DenyExecute or AllowExecute.  Are those what you're looking for?

BTW, 3.0.6 is the latest version to use if you're on .Net framework 2.0.  Csla 2.x is effectively obsolete.

Copyright (c) Marimer LLC