views:

352

answers:

2

could you provide some samples for audit loggin using NHibernate (ASP.Net+C# codd, not java code)

+1  A: 

I've most often seen this done with interceptors. There are plenty of blog postings to be found through Google about implementing interceptors for auditing, like this one.

Stuart Childs
+4  A: 

Event Listeners are better for audit info than Interceptors. Here's a great example from Ayende's blog.

Rohit Agarwal