Generic NHibernate Enum String Mapping(orand.blogspot.com)

submitted by akcoderakcoder(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.

add a comment |category: |Views: 541

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story