Chapter 9. Putting NHibernate into Action

This chapter is different from most of the other chapters in the book. Instead of being somewhat abstract, this one will be pretty much hands-on. What we will do here is apply what was discussed in Chapter 8, “Infrastructure for Persistence,” by using NHibernate [NHibernate] as an example of a Persistence framework.

This chapter starts with an introduction to NHibernate, including how to get started, how to deal with the mapping, and what the API looks like.

Then we will position NHibernate regarding the classifications discussed in Chapter 8, and we’ll also take a look at how NHibernate implements the infrastructure patterns discussed in the previous chapter.

This chapter ends with a discussion of how ...

Get Applying Domain-Driven Design and Patterns: With Examples in C# and .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.