nhibernate是否可以开箱即用地具有中等信任度? [英] does nhibernate work with medium trust out of the box?

查看:60
本文介绍了nhibernate是否可以开箱即用地具有中等信任度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

nhibernate是否在开箱即用的情况下工作?

解决方案

Castle DynamicProxy2 dll需要更新以与中等信任一起工作. 检查此链接

编辑

使用上述解决方案,您无需在NHibernate中禁用任何功能,包括延迟加载. DynamicProxy2不会即时生成.pdb文件,从而使所有操作在中等信任的情况下都能平稳运行.

will nhibernate work under medium trust out of the box?

解决方案

Castle DynamicProxy2 dll needs to be updated to work with medium trust. Check this link

EDIT

With the solution above, you DON'T need to disable ANYTHING in NHibernate, including Lazy Loading. DynamicProxy2 just won't generate .pdb files on the fly, making everything run smoothly on medium trust.

这篇关于nhibernate是否可以开箱即用地具有中等信任度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆