{STATIC} hippo

...on becoming a great developer...
MCTS: .NET Framework 3.5, ASP.NET Applications
posts - 29, comments - 6, trackbacks - 0

My Links

Twitter

Archives

Post Categories

NHibernate

Mapping Serializable types using Fluent NHibernate

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...

posted @ Wednesday, January 20, 2010 11:35 AM | Feedback (2) | Filed Under [ NHibernate ]

NHibernate Generic Dictionary Mapping

"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 ...

posted @ Wednesday, January 14, 2009 4:42 PM | Feedback (0) | Filed Under [ NHibernate ]

Powered by: