List of Listings
Chapter 2. Hello NHibernate!
Listing 2.1. Employee.cs: A simple persistent class
Listing 2.2. Creating and saving an Employee
Listing 2.3. Retrieving Employees
Listing 2.4. Simple Hibernate XML mapping
Listing 2.5. Updating an Employee
Listing 2.6. Using hibernate.cfg.xml to configure NHibernate
Listing 2.7. App.config configuration file using <nhibernate>
Listing 2.8. App.config configuration file using <hibernate-configuration>
Chapter 3. Writing and mapping classes
Listing 3.1. POCO implementation of the User class
Listing 3.2. Category-to-Item scaffolding code
Listing 3.3. Item-to-Category scaffolding code
Get NHibernate in Action now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.