Raul,CustomSaveUpdateEventListener : DefaultSaveOrUpdateEventListener Is not a good way to implement a listener when you are adding functions and not overriding. The best candidate for what you are doing there is the PreInsert and PreUpdate
2009/7/16 Raul Carlomagno <[email protected]> > > maybe this can be useful for you > > > http://nhforge.org/wikis/howtonh/simple-audit-metadata-and-logical-deletion-of-business-entities.aspx > > On 16 jul, 14:06, sirrocco <[email protected]> wrote: > > Anyone ? > > > > On Jul 16, 8:52 am, sirrocco <[email protected]> wrote: > > > > > Is there any way to know if the entity from the SaveOrUpdateEvent > > > object has been modified since the time it was loaded ? > > > > > There are objects that are loaded and not modified at all and I want > > > to set the RecordStamp only on those that have been modified. I can't > > > find a property to check for this info and so I'm setting the > > > RecordStamp on all entities , thus resulting in more updates than i'd > > > want. > > > > > Is there a way to do this check ? > > > -- 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 -~----------~----~----~----~------~----~------~--~---
