开发者

What does NHibernateUtil.Initialize do?

I have inherited a piece of code which calls NHibernateUtil.Initi开发者_如何学JAVAalize.

I am relatively new to NHibernate and have not been able to work out specifically what calling NHibernateUtil.Initialize does.

What does it do and in what scenarios should it be called ?


Basicaly it will eagerly load the domain objects that are lazily loaded or proxied by nhibernate.

Have a look at this from the NHibernate website - lazy-loading-eager-loading the reference is in the bottom quarter of the article.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜