Error!
Success!

Generic NHibernate Enum String Mapping

0
kicks

Generic NHibernate Enum String Mapping  (Unpublished)

Today one of my coworkers mentioned all the little NHibernate enum mapping turd classes that were accumulating in our data access layer. See this post for more details on how it works and why you would want to do this. I wondered aloud if generics could be used to eliminate this waste of disk space. A few minutes later, this is what we came up with.


Kicked By:
Drop Kicked By: