you register the listner with NH, not Windsor or MR.
var cfg = Configuration.Configure("hibernate.xml.cfg");
cfg.Listerns.Add(ListernType.PreInsert, new MyTypeOfListener());
var factory = cfg.BuildSessionFactory();
On Aug 24, 6:46 am, "c.sokun" <[email protected]> wrote:
> Say I need to register this
> listenershttp://ayende.com/Blog/archive/2009/04/29/nhibernate-ipreupdateeventl...
>
> On Aug 24, 5:32 pm, "c.sokun" <[email protected]> wrote:
>
> > How do I register my customer Interceptor with my MR & AR app?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---