luedi wrote:
we implemented a class named ModifiedInfo and mapped it as component to each table. The we use the IInterceptor interface to implement an interceptor which sets the values of the fields. There is a sample in the NHibernate documentation. See
http://www.hibernate.org/hib_docs/nhibernate/html/manipulatingdata.html#manipulatingdata-interceptorsRegards
Klaus
This seems like a way to go, still I have a couple of questions. If I have a many-to-many relationship, will the "mapping table" also be updated, using this interface?? How to you specify the many-to-many relationship to contain columns for ModifiedInfo data.
//Regards
//Lasse