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.
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+unsubscr...@googlegroups.com. To post to this group, send email to nhusers@googlegroups.com. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.