NHibernate 2 + Fluent Nhibernate中等信任 [英] NHibernate 2 + Fluent Nhibernate medium trust
问题描述
不知道流利NH - 我认为它应该 - 它只是转换为XML 。
使用NH本身,你将会失去字节码优化,你所有的setter / constructor都需要公开。如果你需要使用延迟加载,你将不得不使用build生成代理( NH代理生成器)。 如果您在中等信任设置中启用了某些权限,则可以放松一些限制。 Will NHibernate 2 and\or Fluent Nhibernate work in a medium trust environment. If not are there any work-arounds? Not sure about fluent NH - I assume it should - it just translates to XML. With NH itself you will loose bytecode optimization, all your setters/constructors will need to be public. If you need to use lazy loading you will have to have your proxies generated with build (NH proxy generator). Should you have some permissions enabled in your medium trust settings you can relax some of the restrictions. 这篇关于NHibernate 2 + Fluent Nhibernate中等信任的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!