O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

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

Summary

In this chapter, we have been diving deep into the details of why and how to configure NHibernate.

Specifically, we covered:

  • How to configure NHibernate when using XML configuration files
  • Configuring every aspect of NHibernate in code
  • Using the new fluent API of NHibernate to configure the system

We also briefly discussed the configuration via Fluent NHibernate and the difference between configuration and convention, and why we should prefer the usage of conventions when configuring our system.

Now that we've learned about configuration, we're ready to send queries to the database – which is the topic of the next chapter.

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