NHibernate lazy properties behavior?

前端 未结 1 1202
离开以前
离开以前 2021-01-24 07:43

I\'ve been trying to get NHibernate into development for a project I\'m working on at my workplace.

Since I have to put a strong emphasis on performance, I\'ve been runn

1条回答
  •  无人及你
    2021-01-24 08:24

    To do lazy properties with 2.1.*, try this:

    http://ayende.com/Blog/archive/2007/08/26/Lazy-Property-Loading-In-NHibernate.aspx

    Lazy properties are much easier and fully supported in the trunk (3.X):

    http://ayende.com/Blog/archive/2010/01/27/nhibernate-new-feature-lazy-properties.aspx

    See also:

    Lazy property loading in Nhibernate and Spring

    NHibernate: lazy loaded properties?

    0 讨论(0)
提交回复
热议问题