hi
I was wondering if anyone has any experience of using Aspect# (or any other .Net AOP framework) with NHibernate? As they both use Castle's dynamic proxy, I was wondering if there is a nice way to integrate them both?
Basically what I want is that when I load an object using NH, if I have previouslyconfigured any AOP interceptors for the type, then the object I get back will have these already set up.
I know you can use Aspect# to wrap objects even after they have been instantiated elsewhere, but this relies on using an interface. And I didn't want to have to define an interface for all out business entities.
Any help/pointers really appreciated.
Cheers,
Andy
|