Castle ActiveRecord has a BeforeLoad event, but I also need an AfterLoad event. I know that you can use the NHibernate PostLoad event. But how can I do this?
Castle ActiveRecord
BeforeLoad
AfterLoad
ActiveRecord "events" are based on NHibernate interceptors ( IInterceptor ), not NHibernate events . IInterceptor does not have PostLoad , so ActiveRecord does not have an AfterLoad method.
IInterceptor
PostLoad
Here are the docs on connecting event listeners to ActiveRecord .