Take a look to Event/Listener... NH is doing that work and NH give you a "standard" way to catch all insert/update/delete (in update/delete you will have old&actual state)
2009/5/27 Fred F. <[email protected]> > > It can be several levels of references. Depends on the corresponding > mask. Currently I've got a mask with 4 business objects in three > levels. A->B A->C B->D > > As I am developing some kind of framework based on nhibernate I can't > guess which objects will be changed at the time they are loaded. This > would end in some kind of seperate cache I have to manage. I thought > it would be much easier to load the data again from the database on > demand (always when an update is fired) and copy them to my journal > objects to save it to the journal table. > > > -- 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 -~----------~----~----~----~------~----~------~--~---
