Envers & SetForNet4 do not work together

26 views
Skip to first unread message

Alexander Kot

unread,
Oct 25, 2011, 10:08:16 AM10/25/11
to nhu...@googlegroups.com
Hello all

Have anybody tried to use Envers with .Net 4 ISet based on
http://nhforge.org/blogs/nhibernate/archive/2011/03/15/using-lt-set-gt-in-mappings-without-iesi-collections-net-4.aspx
?

I have tried and it do not work together
It works for creating audit entries with small modification of SetForNet4 (add ICollection to PersistentGenericSet<T> : ....., ICollection)
But when reading audit and creating entities Envers seems hard-coded for creation of Iesi Set.
As result NHibernate.PropertyAccessException ..... cannot be converted to type

Asher Newcomer

unread,
Oct 25, 2011, 10:57:10 AM10/25/11
to nhu...@googlegroups.com

Yes, Roger put together a project for this. I don't have the reference handy but will try to track it down in an hour or two.

--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/CcWRDcuvyp4J.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.

Alexander Kot

unread,
Oct 26, 2011, 3:50:02 AM10/26/11
to nhu...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages