Install NHibernate 3.2 with NuGet

前端 未结 5 835
慢半拍i
慢半拍i 2021-02-03 20:40

I\'m new to NHibernate and have been trying to get up and running with it, Fluent NHibernate and NHProf using NuGet. After reading this article (http://gurustop.net/blog/2011/0

5条回答
  •  独厮守ぢ
    2021-02-03 21:26

    NHibernate 3.2 comes with its own proxy factory. If you're using a config file, you just need to remove the proxyfactory configuration property.

    I believe the version of Fluent NHibernate that you're using defaults to use NHibernate.ByteCode.Castle. In that case, you would need to override that setting with the built in NHibernate 3.2 proxy factory:

    .ProxyFactoryFactory("NHibernate.Bytecode.DefaultProxyFactoryFactory, NHibernate") 
    

提交回复
热议问题