I am listening to audit events in NHibernate, specifically to OnPostUpdateCollection(PostCollectionUpdateEvent @event)
I want to iterate through the @event.Collection
elements.
The @event.Collection is an IPersistenCollection
wich does not implements IEnumerable
. There is the Entries
method that returns an IEnumerable
, but it requires an ICollectionPersister
wich I have no idea where I can get one.
The questions is already asked here: http://osdir.com/ml/nhusers/2010-02/msg00472.html, but there was no conclusive answer.
Thanks in advance