I need to audit some entities within my business, I found a solution making use of the Event Listener of Nhibernate, everything is fine up to that point but I need besides registering the sql statement. I have an entity which I name DbLog where I store the user that performed the action, the name of the entity, the date, which action was executed (Delete, Update or Insert) but I need to register the sql statement. I do not know how to do it.