VAB: how to use Self node in configuration file

Topics: Validation Application Block
Mar 21, 2007 at 8:04 PM

How should I use the Self node in configuration file?

Is for use with CustomValidators?

Thanks in advance

Rodrigo Juarez
Mar 21, 2007 at 8:38 PM
The Self node lets you specify validators that validate the complete type, rather than just one member of the type. For example if you build a CustomerValidator class, you could apply it to the Self node of a Customer type in the configuration file.

Mar 22, 2007 at 7:37 AM
It is not possible to use the result of the Self node in any way in the Window.Forms.Integration is it?
Mar 22, 2007 at 3:54 PM
No it isn't - the integration adapters can only work with validators applied to properties. It does not support type-level validators or self validation.