Important to note that filters don't work when doing a get() or load() with
an ID directly.

On Tue, Dec 9, 2008 at 6:13 AM, Fabio Maulo <[EMAIL PROTECTED]> wrote:

> http://nhforge.org/doc/nh/en/index.html#objectstate-filters
>
> 2008/12/9 mattcole <[EMAIL PROTECTED]>
>
>>
>> Hi,
>>
>> We are looking to implement soft deletion using NHibernate, and have
>> managed to use the DefaultDeleteEventListener to implement soft
>> deletion going into the database. What we were wondering though it
>> it's possible at the same level to avoid retrieving entities that have
>> been marked as deleted.
>>
>> We're using an interface called ISoftDeletable and checking whether
>> the entity being deleted implements it, and if so instead update the
>> record.
>>
>> Is it possible to do something similar when querying entities?
>>
>> Thanks,
>> Matt
>>
>>
>
>
> --
> 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