1.3. Part 2: The NHibernate Framework

Now that you have seen the power of NHibernate and the simplicity of configuring it, let's have a look at what makes it tick and how you can use some of its advanced features.

1.3.1. Architecture and Core Concepts

Before we start going into the details of the NHibernate Framework API, it's important to understand some concepts that you used in the Quick Demo project in Part 1.

1.3.1.1. Configuration, ISession, and ISessionFactory

Listing 8 walks you through the steps you took in the demo project and the different parts of NHibernate's framework that you met. You created an instance of NHibernate's configuration class, called the configure method, which set up NHibernate based on the application configuration ...

Get NHibernate with ASP.NET Problem-Design-Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.