Last Old Blog Code Update

Published 06 March 08 11:12 PM

Ok - after posting this update, I'll consider myself caught up with regard to picking up the pieces of my old blog.  This is the updated code sample for creating custom mapping types in NHibernate.  The updated sample provides a loose example of implementing the type object pattern - a pattern where one object instance serves as the type for a set of other object instances.  Here, for the sake of simplicity and expediency, I have designed the types such that the type object is also the value container - hopefully when you look at the code, you can see it's a pretty simple process to go a step farther and implement the full pattern.

Anyway, similar to my last post, I've updated the code to use the latest version of NHibernate, and I've added in some LINQ goodness.  And of course, all demoware disclaimers apply.

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About hdierking

I am currently the Editor-in-Chief for MSDN Magazine. I joined Microsoft in 2006 as a product planner with the certification team at Microsoft Learning. Prior to that, I spent my career as a developer and later as an architect. My main technology passions include pretty much anything on language theory, agile development, and service-oriented architecture.
Page view tracker