Re: [nhusers] Unwrapping decorators in NHibernate

2016-03-07 Thread Felix Berlakovich
I did, but for some reason the event is not triggered for an entity containing an updated collection. My test case currently contains an entity with a collection referencing decorated items. Nhibernate triggers a PreUpdateCollection event, but I cannot change the collection in this

Re: [nhusers] Unwrapping decorators in NHibernate

2016-03-07 Thread Fran Knebels
Why can't you implement IPreUpdateEventListener? On Mon, Mar 7, 2016 at 9:12 AM, Felix Berlakovich wrote: > I am using decorators to decorate my entities. For example, I have a > security decorator that hides values of entity properties not visible to > the calling user.