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

查看:19
本文介绍了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天全站免登陆