问题
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