Validate A Property Based On The Value Of Another

Topics: Validation Application Block
Dec 31, 2007 at 6:11 PM
Edited Jan 1, 2008 at 1:06 PM
Hi,

I'm using the validation block of enterprise library release 3.1. A class I've created has home and mobile phone number properties, I want to ensure at least one of these are not null.

Is this possible with the current version?

Thanks for your help.
Jan 1, 2008 at 7:00 PM


nbl wrote:
I'm using the validation block of enterprise library release 3.1. A class I've created has home and mobile phone number properties, I want to ensure at least one of these are not null.

Is this possible with the current version?


I've found the answer, self validation.