fluentnhibernate and nhibernate validator version error
on Stack Overflow
See other posts from Stack Overflow
or by Thad
Published on 2010-03-12T15:35:28Z Indexed on 2010/03/12 15:37 UTC
Read the original article Hit count: 581
We have a project using FluentNibernate to map the entities. Now I need to add some format validation to these maps. For Nullable, Length and such we are currently using the mappings. I added NHibernate Validator to the project, but received a compile time error about needing NHibernate version 126.96.36.19900. So I upgraded to that version just to get a run-time error stating that it could not find NHibernate 188.8.131.5200. Could I write extension methods to do the validation using FluentNibernate? Do I have to recompile both using the same version of NHibernate? The preferred method would be to use a release of these. Any other device would appreciated.
© Stack Overflow or respective owner