NHibernate.Linq deal with events ? since when ?I don't know this feature of NHLQ, it is something new ?
2009/7/29 Matthijs ter Woord <[email protected]> > NHibernate.Linq. > > > c.EventListeners.PostLoadEventListeners = > new[] {this};doesnt work. I used to use c.SetListener(this); > > On Wed, Jul 29, 2009 at 4:25 PM, Fabio Maulo <[email protected]> wrote: > >> Or if you want something like this >> >> http://code.google.com/p/unhaddins/source/browse/trunk/uNhAddIns/uNhAddIns/Listeners/AutoDirtyCheck/ConfigurationExtensions.cs >> >> 2009/7/29 Fabio Maulo <[email protected]> >> >> which linq ? >>> >>> configuration.EventListeners.DeleteEventListeners = >>> new[] {new ResetReadOnlyEntityDeleteListener()} >>> >>> >>> >>> .Concat(listeners.DeleteEventListeners).ToArray(); >>> >>> http://fabiomaulo.blogspot.com/2009/06/nhibernate-configuration.html >>> >>> >>> 2009/7/29 Matthijs ter Woord <[email protected]> >>> >>>> Maybe it's related to using Linq? >>>> >>>> >>>> >>>> >>>> On Wed, Jul 29, 2009 at 3:44 PM, Fabio Maulo <[email protected]>wrote: >>>> >>>>> 2009/7/29 Matthijs ter Woord <[email protected]> >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> I'm using SetListener(ListenerType.PostLoad,..) to keep track of >>>>>> loading. I just updated to NHibernate 2.1, and now it stopped working. >>>>>> Is this a known bug? >>>>> >>>>> >>>>> I'm using the same listener in 2 projects and all work fine.... Mystery >>>>> or "Its a kind of magic" ? >>>>> -- >>>>> Fabio Maulo >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Fabio Maulo >>> >> >> >> >> -- >> Fabio Maulo >> >> >> -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
