Yesterday I saw the light at the end of the tunnel.
The Oslo project.
Do you want avoid XML to map your domain ? Which language you want use to configure NH ? Why not English or Spanish or Italian ?
NHibernate have a lot of fireflies… the EntityMode.Xml are allowing something like this but using XML mappings.
Well…sorry it is incomparable.
The same base concept was provided by AjGenesis some years ago, but even if today AjGenesis are supporting text, instead XML, the MGrammar appear as a very powerful tool to create our DSL to generate all artifacts, including NHibernate mappings of course (I know… I know… AjGenesis is a project of “good soul”, behind MGrammar there is Microsoft).