O'Reilly logo

NHibernate 3.0 Cookbook by Jason Dentler

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

WPF and WinForms applications

To build a complete desktop application using Windows Presentation Foundation or WinForms, first choose a mapping method from the following list of recipes:

1.1 Mapping a class with XML

1.7 Creating mappings fluently

1.8 Mapping with ConfORM

Choose a configuration method from the following recipes:

2.1 Configuring NHibernate with App.config

2.2 Configuring NHibernate with hibernate.cfg.xml

2.3 Configuring NHibernate with code

2.4 Configuring NHibernate with Fluent NHibernate

Create your database from the following recipes:

2.8 Generating the database

2.9 Scripting the database

2.10 Using NHibernate Schema Tool

Choose a session management method from the following two recipes:

3.2 Setting up session-per-presenter

3.5 Using the Conversation-per-Business ...

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