Well, I think you are inheriting from EmptyInterceptor but instead of overriding you are in fact shadowing its methods. Try using "overrides":
> public overrides bool OnLoad(object entity, ... ---- Michael Scheibler On 19 Mrz., 21:20, epitka <exptrade2...@yahoo.com> wrote: > Oh, it does not even get to call IsTransient to begin with when > inheriting. I've seen this happen when subclasing listeners too, so I > just don't subclass them anymore. But now I have an error that I am > trying to debug in NH but I cannot get 2.0.1.x branch to build. > > On Mar 19, 11:50 am, Fabio Maulo <fabioma...@gmail.com> wrote: > > > > > 2009/3/19 epitka <exptrade2...@yahoo.com> > > > > This is interesting, implementing IInterceptor directly rather than > > > subclassing EmptyInterceptor works. > > > So solved, thanks to share it. > > Now try inherit from EmptyInterceptor without call base.IsTransient > > > -- > > Fabio Maulo- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---