views:

55

answers:

2

is there any notification support that nhibernate has in its framework that cna be used to register db changes?

+1  A: 

You can configure log4net to log all queries into the file. How to do it you can find here Or if you need to perform some custom action before query you can use listeners

Sly
A: 

If you mean something like the SqlDependancy and SqlNotification objects, then no it doesn't. These are driven by SQL Notification Services in MSSQL 2005 / 2008, whereas NHib works with a number of databases.

Cheers, John

John Rayner