actually OnFlushDirty is good but as i said it's PreviousState
parameter is null ,
i know that there is a parameter named "previousState" and a parameter
named "currentState" , i should compare them together to findOut dirty
properties , but it's null !!! and in some cases that it is not null ,
it is the same as the currentState !
so i confused !

On May 30, 4:39 pm, Fabio Maulo <[email protected]> wrote:
> If you like interceptor OnFLushDirty has all you need.
>
> 2009/5/30 Arman <[email protected]>
>
>
>
> > actually i got with a new problem,
>
> > the interceptor is a good idea , but i can not find out dirty
> > properties with it's methods. there is a FindDirty and OnFLushDirty
> > method , and also there is previousState parameter on it , but this
> > parameter always is null !!! and there is nothing to be compared in
> > FindDirty method to find out what property changed. i know NHibernate
> > store object state in session , i want to somehow access to it and for
> > example log this " User a Changed the Lastname of Person x".
>
> > any idea ?
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to