Windows表单应用程序的验证使用NHIBERNATE
我一直在 Windows 窗体应用程序中使用 Nhibernate(具有流畅的 nhibernate 映射)并进行一些验证和绑定,我也一直在使用 NHibernate Validator,当我们尝试验证某些属性时,我们会遇到此错误:
无法加载类型程序集“NHibernate”中的“NHibernate.Bytecode.ProxyFactoryFactoryNotConfiguredException”,版本=3.2.0.4000,文化=中性, PublicKeyToken=aa95f207798dfdb4'。
有人可以帮助我们吗?
我们不知道发生了什么,在网络上查找一些解决方案时,我们发现 nhibernate 验证器有一个错误,我们需要修复它或等待下一个版本,这是真的吗?
或者,如果有人可以推荐另一个好的组件来使用 nhibernate 验证/绑定 Windows 窗体应用程序,我们真的很感激。
谢谢!
I've been using Nhibernate (with fluent nhibernate mapping) in a windows forms application and to do some validation and binding, I've been using NHibernate Validator too and when we try to validate some properties we take this error:
Could not load type 'NHibernate.Bytecode.ProxyFactoryFactoryNotConfiguredException' from assembly 'NHibernate, Version=3.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4'.
Can someone help us ?
We don't know what is happening and looking some solution in web we found the nhibernate validator has a bug and we need to fix it or wait the next release, is that true?
Or if someone could recommend another good component to validate/binding on windows forms application with nhibernate, we really appreciate it.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来这是a 已知的错误在最新(1.3.1)版本的NHIBERNATE验证器中。您可以
Looks like this is a known bug in the latest (1.3.1) version NHibernate Validator. You can
检查您正在使用的 NHibernate 版本。您使用的 NHV 适用于 NH 3.2。
Check the NHibernate version you're using. The NHV you're using is for NH 3.2.