﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>nimble99 commented on NHibernate code generation</title><description>Sub classes are identified by a foreign-key relationship between 2 tables where both keys are the primary keys of their owner tables.. however this is also the relational prototype for one-to-one relationships, so you will need to tell the diagram whether it is generalization, or aggregation that you intend.
  
You do this by right clicking on the relationship connector, and selecting "Make subclass" from the popup menu.
  
  
HTH
</description><link>http://ayende.com/2240/nhibernate-code-generation#comment4</link><guid>http://ayende.com/2240/nhibernate-code-generation#comment4</guid><pubDate>Tue, 27 Mar 2007 05:47:17 GMT</pubDate></item><item><title>Tom Opgenorth commented on NHibernate code generation</title><description>I don't suppose you've had a chance to try the "NHibernate lujan99 - .08" template?  I've been trying it with NHibernate 1.2 RC1.  Not much luck.  Then again, it could just be me.
</description><link>http://ayende.com/2240/nhibernate-code-generation#comment3</link><guid>http://ayende.com/2240/nhibernate-code-generation#comment3</guid><pubDate>Fri, 23 Mar 2007 04:03:11 GMT</pubDate></item><item><title>Sean McCormack commented on NHibernate code generation</title><description>I'd also recommend looking at Codus NHibernate template.  It not only generates all the classes and hbm files, but also a set of unit tests:
  
http://www.adapdev.com/codus
</description><link>http://ayende.com/2240/nhibernate-code-generation#comment2</link><guid>http://ayende.com/2240/nhibernate-code-generation#comment2</guid><pubDate>Thu, 22 Mar 2007 13:17:19 GMT</pubDate></item><item><title>Adam Tybor commented on NHibernate code generation</title><description>How does it handle sub-classes?
</description><link>http://ayende.com/2240/nhibernate-code-generation#comment1</link><guid>http://ayende.com/2240/nhibernate-code-generation#comment1</guid><pubDate>Tue, 20 Mar 2007 18:29:37 GMT</pubDate></item></channel></rss>