You should direct this post to the NHUSERS discussion group instead ( http://groups.google.com/group/nhusers). This group is for the discussion of the development OF nhibernate, rather than the development WITH nhibernate.
Cheers, Steve Bohlen [email protected] http://blog.unhandled-exceptions.com http://twitter.com/sbohlen On Wed, Nov 13, 2013 at 1:15 AM, Sid Shetye <[email protected]>wrote: > How do I mark an entity as "clean" immediately after modifying any of it's > properties inside on the handlers (eg: PostLoadEvent handler)? > > In the application code we modify DateTime properties for legacy reasons > (inside the Post Load Event handler) but don't want this modification to > the entity to trigger a write back in OnFlushEntity(). FYI, We do want to > track the entity after this instant (modify + reset as clean) to track any > changes from that point on. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "nhibernate-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
