NHibernate.ByteCode.LinFu.dll For NHibernate 3.2

左心房为你撑大大i 提交于 2019-12-04 16:39:17

问题


Where can I find the latest version of NHibernate.ByteCode.LinFu.dll that is compiled against NHibernate 3.2?


回答1:


From 3.2, NHibernate ha its own embedded proxy generator: there are nо more need of NHibernate.ByteCode.LinFu.dll or NHibernate.ByteCode.Castle.dll and I don't think they are supported any more.

I think you have to download the last supported source of NHibernate.ByteCode.LinFu.dll source, and try to compile it against the 3.2.




回答2:


in NHibernate 3.2 you do not need NHibernate.ByteCode.LinFu.dll because NHibernate 3.2 implements the proxy by itself. so we need modify the config like as:

<property name=”proxyfactory.factory_class”>NHibernate.Bytecode.DefaultProxyFactoryFactory, NHibernate</property>


来源:https://stackoverflow.com/questions/8286936/nhibernate-bytecode-linfu-dll-for-nhibernate-3-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!