O'Reilly logo

NHibernate 3.0 Cookbook by Jason Dentler

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

In this chapter, we will cover the following topics:

  • Creating an encrypted string type
  • Using well-known instance types
  • Using dependency injection with entities
  • Creating an audit-event listener
  • Creating and changing stamping entities
  • Generating trigger-based auditing
  • Setting Microsoft SQL's CONTEXT_INFO
  • Using dynamic connection strings

Introduction

NHibernate is incredibly extensible. The recipes in this chapter demonstrate ways to extend NHibernate to accomplish common tasks such as data encryption and auditing.

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