Big thanks,

I was investigating a similar problem, I wasn't looking at filters yet, thx
for that!

Can this be done with EventListeners (NH 2.1) also?

Correct me if I'm wrong, from what i've seen in the code, it's in the
implementation of Defaultxxx that the actual persistence logic is situated.
So if I wanted to do this with EventListeners, I need to be sure to derive
the DefaultSaveOrUpdateListener, and to add only this implementation to the
*<http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://NHibernate:2.1.0.1001:aa95f207798dfdb4/NHibernate.Event.EventListeners/property:SaveOrUpdateEventListeners:NHibernate.Event.ISaveOrUpdateEventListener%5b%5d>
*EventListeners.SaveOrUpdateEventListener array.
(first do clear() of this array).

TIA
C+++

On Thu, Feb 12, 2009 at 8:38 PM, Fabio Maulo <[email protected]> wrote:

> 2009/2/12 Germán Schuager <[email protected]>
>
>>
>> http://nhforge.org/wikis/howtonh/contextual-data-using-nhibernate-filters.aspx
>
>
> Thats is why NH-Forge exists.
> Thanks Germán for your good collaboration spirit.
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to