Yesterday I posted a question to StackOverflow (http://stackoverflow.com/questions/2097364/mapping-to-serializabletype-in-fluent-nhibernate) asking whether anyone could tell me how to map a Serializable type using Fluent NHibernate. The outcome was disappointing to say the least. In 24 hours there have been less than 20 views. It was voted up twice, but no comments or answers were posted. Even worse, there’s another post on StackOverflow (http://stackoverflow.com/questions/2000798/map-to-serializable-in-fluent-nhibernate) that asks this same question and has an answer that’s incorrect (it compiles but throws an exception at runtime). Serializable types in NHibernate (XML) Before I continue, I’ll give a little background. Feel free to skip...
"NHibernate: have I told you today how much I love you?" The other day I had a good reason to use a generic dictionary and I though hey, I wonder how I'll get that working with NHibernate... It's very simple to persist Generic Dictionarys with NHibernate as I found out. Let's see an example... .NET PSEUDO CODE Take a person and his favorite or least favorite deserts: First we have a Person object class Person ----------- int PersonId ...