disable / enable rules

disable / enable rules

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


Amer posted on Monday, May 25, 2009

can i disable / enable rules in csla

Marjon1 replied on Monday, May 25, 2009

You need to be a bit clearer in your question, however, I'm assuming you mean validation rules and can they be enabled / disabled based on the state of the object or another property.

The short answer of this is yes.
By creating custom validation rules this can be done. I would recommend Chapter 3 of Rocky's books, for more detail.

Copyright (c) Marimer LLC