Right, you can do the same thing using a class attribute. See the AssertAnimalAttribute in the validator tests. You can modifiy this example to assert any combination between animal properties.
Gustavo. On Tue, Oct 28, 2008 at 3:18 PM, Norberto <[EMAIL PROTECTED]> wrote: > > Hi all > > There is something similar to the attribute SelfValidation (http:// > msdn.microsoft.com/en-us/library/cc309328.aspx) from Enterprise > Library Validation Application Block in the NHibernate.Validator? If > not, there is some way to implement something like it? > > See you > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
