ProxyFactoryFactoryNotConfiguredException and lazy is false

I use NHibernate and get ProxyFactoryFactoryNotConfiguredExceptionon call _factory.BuildSessionFactory();. My lazyness is disabled by default and does not have a property that displays as lazy. Is a factory proxy required?

+3
source share
1 answer

This configuration parameter is now required, the link below describes how to set this bit up.

http://nhibernate.info/blog/2008/11/09/nh2-1-0-bytecode-providers.html

+3
source

Source: https://habr.com/ru/post/1710835/


All Articles