Another interesting project is the NHModeller tool. While I generally use the database to represent my model, this tool decouples the model from the data structure in a very slick manner. All we need to do is define our model in a text file and use either the command-line application or a plugin for the free Intellipad tool from Microsoft to generate POCO's, HBM.XML files, and SQL Scripts.
More information on this product is available at http://nhmodeller.selfip.com/
.
This tool generates data from a model. However, instead of using a visual representation (such as Visual NHibernate), it uses a text-based Domain Specific Language (DSL) to describe the entities.
A simple Contact
object model would look something as follows:
NHModel { Entity Contact { LastName:string(255) FirstName:string(255) Email:string(255) } in Contact }
One nice feature of this product is the Intellipad plugin. This plugin provides basic IntelliSense and syntax highlighting, as well as the option...