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 transaction pattern
Choose a query method from the following recipes:
4.1 Using Criteria Queries
4.2 Using QueryOver
4.5 Using the Hibernate Query Language
4.7 Using Named Queries
4.10 Using LINQ to NHibernate
Choose a data access layer style from the following recipes:
6.1 Transaction Auto-wrapping for the data access layer (Data Access Objects)
6.2 Setting up an NHibernate repository
Finally, build your application on top of this data access layer.