you can create a class attribute for this. Check the AssertAnimalAttribute in tests, you can easily get the animal there and check if two properties are the same.
Gustavo. On Mon, Mar 30, 2009 at 1:58 PM, James Crowley <[email protected]>wrote: > Is there any way to set up composite validation? For instance, on a UI > object that has "Password" and "PasswordConfirm", and they need to both > equal the same value? > > I've seen this in other frameworks, but not nhibernate validator? > > Thanks > > James > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
