Is Lazy Loading required for nHibernate?

Posted by johnny on Stack Overflow See other posts from Stack Overflow or by johnny
Published on 2009-04-20T17:13:02Z Indexed on 2010/04/21 9:33 UTC
Read the original article Hit count: 361

Filed under:
|

It took me a long time but I finally got nHibernate's Hello World to work. It worked after I did "lazy loading." Honestly, I couldn't tell you why it all worked, but it did and now I am reading you don't need lazy loading. Is there a hello world that anyone has that is bare bones making nHibernate work? Do you have to have lazy loading? I ask because I would like to use nHibernate but I need to understand how things are working.

Thank you.

Do you know of a hello world that doesn't have so much overhead?

Is it better to use lazy loading?

EDIT: I am using asp.net 3.5. Web Application Project.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about lazy-loading