O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A word about lazy loading

In Chapter 3, we defined the domain of our ordering system. Now, we are going to map our domain to an underlying database. Our domain is defined such that it is possible to navigate from one entity to another via the relations we have defined. As an example, we can navigate from our order entity to the line item entities that are associated with the specific order. Furthermore, from a line item we can navigate to the product entity, which this given line item represents inside the order. Theoretically, we can start at one point in the domain and pick one entity, and then navigate throughout the whole domain. As long as we are in the domain and our domain is not connected to any database, this is not a problem, but it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required