VAB to validate two properties of the same object

Topics: Validation Application Block
Apr 10, 2008 at 8:09 PM
Hi, Let's say I have two properties, A and B, of the same object. Is it possible to use a built-in validator to do a A AND/OR B validator?

Apr 14, 2008 at 7:15 PM
Yes and no. You have AND and OR validators that do just that, but you cannot specify them arbitrarily with attributes or config so you need to set your validators up through code.