thank U bro, solved my problem i found this Codeproject Article very helpful, just want to share it for others:
http://www.codeproject.com/KB/cs/NHibernate_IInterceptor.aspx thanks again. On May 27, 12:28 pm, Craig van Nieuwkerk <[email protected]> wrote: > Yes, you need to have a look at event listeners. > > http://www.google.com.au/search?q=nhiberate+event+listeners+audit > > On Wed, May 27, 2009 at 7:15 PM, Arman <[email protected]> wrote: > > > as you know nhibernate use Unit Of Work pattern to track the object > > changes for making the update and insert sql commands. > > > what i want to do is how can i know about which property have been > > changed during a session and log them in a table. > > > i know log4net produce a good logs , but i don't think so that log4net > > provide me some information about which properties is going to be > > updated in this session ( as user changed them in UI ). > > > i want to know if nhibernate have any feature for that , something > > like event , or some report about how an object changed and updated. > > there is property name IsDirty in session , but i want to know how > > dirty it is ?? > > > thanks a lot, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
