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
--~--~---------~--~----~------------~-------~--~----~
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