How to add a SaveOrUpdateCopy event listener in NHibernate

Posted by skrishna on Stack Overflow See other posts from Stack Overflow or by skrishna
Published on 2010-04-21T19:02:20Z Indexed on 2010/04/21 19:03 UTC
Read the original article Hit count: 218

Filed under:
|
|

How can I add a event listener for SaveOrUpdateCopy in NHibernate ? I see that the ListenerType enumeration does not have a 'SaveOrUpdateCopy' type. I tried using the 'Merge' type, but that adds it to the MergeEventListeners collection. The SaveOrUpdateCopy invokes the events from the SaveOrUpdateCopyEventListeners collection.

How can I add my event class to the SaveOrUpdateCopyEventListeners collection in NHibernate?

Any help is appreciated.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about event