I have seen several NHibernate templates here and elsewhere that will generate classes and mappings from a database. But I'm looking for the reverse. I develop my business objects first, so I'm looking for a template that will use a business model to generate mapping files and a database script.
Is there a template, either here or elsewhere, that will do that? Thanks in advance for your help.