用Fluent NHibernate默认的行为来延迟加载HasMany< T>收藏? [英] Is the default behavior with Fluent NHibernate to lazy load HasMany<T> collections?
本文介绍了用Fluent NHibernate默认的行为来延迟加载HasMany< T>收藏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
一天内在与NHibernate的标准,这是延迟加载是默认启用的一切。
when I am setting up my fluent mappings, what is the default for collections? Do I need to explicitly set them as lazy-load, or is that the default?
解决方案
Note this is changed as of current day to be inline with NHibernate standards which is lazy loading is enabled by default for everything.
这篇关于用Fluent NHibernate默认的行为来延迟加载HasMany< T>收藏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文