Have a .net class that I want to persist/retrieve to/from Oracle 11g database using NHibernate. Contains an array of objects that NHibernate insists must be the interface type IDictionary, ISet, or IList. I also need to serialize the class to XML using XmlSerializer, however, XmlSerializer cannot serialize members of type IList (for example) "because it is an interface". Anyone have a solution to this problem?
A:
http://stackoverflow.com/questions/1958684/nhibernate-how-do-i-xmlserialize-an-isett
Bottom Line: Use DTOs.
Jim G.
2010-01-14 20:30:20