I'm working on a little project to satisfy my idea on creating a mapping for NHibernate describing the model entities in a notepad like fashion. The application I created leverage a new SDK from microsof, at present in CTP: Microsoft Oslo SDK.
The application starts from a very simple language, and starting from this creates the clsses, the hbm's and the database script ( Database script at the moment does not work... ;)
). The application deal with collections,references, subclassing, and many-to-many relationship.
Lets have a couple of screenshot, the first one about a relation Books-Authors...
This is the hbm (whit all the mapping in a single view ):
and this the mapping ( all the classes in a view):
A sample with subclassing ( a just for fun financial model )
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.