Posts tagged as:

Windows

Adding Audit Capabilities to NHibernate Entities

February 16, 2009

NHibernate 2.0 brings many new features, including a new event / listener system that can be used for many kinds of cross-cutting concerns. One the capabilities is being able to register a listener that can automatically update fields on an entity for you as it is saved. Many business applications require that we track who last modified an entity, or when it was created etc. This new model makes it quite easy to do.

Read the full article →