|
IInterceptor has an OnLoad() method, which gets called before all of the data is shoved into the entity object. I would like something that gets called after after the data is shoved into the entity object.
I found the ILifecycle interface, but the problem with that is that some of the ILifecycle methods return NHibernate enums, which means that now I have to add references to NHibernate throughout most of my application, which I don't really want to do (I don't want people trying to cheat and call data access code from the UI, circumventing the business layer).
Any suggestions?
Jon
_________________ Jon Kruger
http://jonkruger.com/blog
|