O'Reilly logo

Applying Domain-Driven Design and Patterns: With Examples in C# and .NET by Jimmy Nilsson

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

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 ...

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