I know that you can generate a database from classes and their mappings using nHibernate, but I can't find any good links to do this the other way around. We have a database that has already been designed, and we are looking at using nHibernate. It would be nice to use a tool to generate the mappings and classes from the database, and then we could tweak/manipulate them to suit our tastes.
A:
You can use nhibernate with an existing database. It is a matter of writing the mapping files.
I also recommend using Fluent Nhibernate...I started using this after this community recommended it..
Look at subsonic as well if you do not like maintenance of mappings.
CodeToGlory
2009-05-04 17:17:24
The post clearly states that he wants to avoid writing these mapping files.
Lars A. Brekken
2009-05-04 17:26:45
I am recommending Fluent Nhibernate for that reason.
CodeToGlory
2009-05-04 19:02:58
+3
A:
You can do that by using the ActiveWriter.
It supports both vs 2005 and vs 2008.
Rodrigo Guerreiro
2009-05-04 17:17:39