
There are 6 things you need to do before you can capture the SQL Query generated by NHibernate at runtime. Create a class to store the NHibernate generated SQL Query Create an Interceptor class that implements the IInterceptor interface Implement the OnPrepareStatement method and set the NHibernate generated SQL Query created in step 1 Set […]
Read More →