Generic NHibernate Enum String Mapping(orand.blogspot.com)
submitted by
akcoder(830) 5 years, 1 month ago
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.
|category: C#
|Views: 541
tags:
Generics NHIbernate C# ORM another
Everyones tags:
Your Tags: