I did not pursue the plan I had in my first part about extending hbm2net. Instead Roland Eichler, a fellow programmer, and I decided to write a totally independant Renderer for hbm2net. We are using CodeDOM’s CodeGenerator and right now the Renderer is utilizing partial classes and does feature Generics. Please bear with us, until we can present the results. Hopefully next week.

Update:
There is a downloadable version in hbm2net extension Part 3