The Pre* Event Listeners enable you to exactly do what you want. Since you will get the old and new values of the entities properties as parameters, you can easily save them using another entity.
Am 14.07.2009 um 19:36 schrieb Paulo Quicoli <[email protected]>: > Hi friends, > > I´m needinng here an audit mechanism. But log will be persited in ot > her table. For example, if i change an object Order, > the log about old properties values and new old values will be in a > table "LOG".... > Doing some "google" i found a link from Ayend about > IPreUpdateEventListener and IPreInsertEventListener. > > Is there a way to use them to insert that log in other table... see, > i need to know what changed... not only date/time... > > Also, googling... i didn't find anything about deleting events.... > > Thanks friends!!!!!! > > > > -- > Paulo R. Quicoli > > Editor Técnico - ClubeDelphi Magazine - DevMedia > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
