ValidatorEngine.Validate returns null (no error) if configured its ValidatorMode.UseExternal

Posted by bidel on Stack Overflow See other posts from Stack Overflow or by bidel
Published on 2010-06-16T10:48:41Z Indexed on 2010/06/16 10:52 UTC
Read the original article Hit count: 190

Hi

i am integrating nhibernate validator into my application and and everything is fine with attributes but as soon as I create *.nhv.xml files and move my validation rules there (as embedded resource)

ValidatorEngine.Validate(entity)
returns wrong (actually nothing and my InvalidValue[] collection is empty

I appropriate any comment/advise

© Stack Overflow or respective owner

Related posts about validation

Related posts about nhibernate-validator