Skip to main content
O'Reilly home
    • Sign In
    • Try Now
    • Teams
    • Individuals
    • Features
      • Certifications
      • Interactive learning
      • Live online sessions
    • What’s New
    • O’Reilly for marketers

NHibernate in Action by

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.

Start your free trial

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>

Listing 2.9. Basic configuration of log4net

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

Listing 3.4. NHibernate XML mapping of the Category class

Listing 3.5. ...

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.

Start your free trial

About O’Reilly

  • Teach/write/train
  • Careers
  • Community partners
  • Affiliate program
  • Diversity

Support

  • Contact us
  • Newsletters
  • Privacy policy
facebook-logo linkedin-logo youtube-logo

Download the O’Reilly App

Apple app store Google play store

Take O’Reilly online learning with you and learn anywhere, anytime on your phone and tablet.

  • Get unlimited access to books, videos, and live training.
  • Sync all your devices and never lose your place.
  • Learn even when there’s no signal with offline access.

Do not sell my personal information

Exercise your consumer rights by contacting us at donotsell@oreilly.com.

O'Reilly home

© 2021, O’Reilly Media, Inc. All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.

Terms of service • Privacy policy • Editorial independence