tags:

views:

206

answers:

2

Hi, I was wondering if there is a tool to generate Nhibernate mapping and class automatically from the database, kinda what subsonic does? Thanks in advance.

+2  A: 

NHibernate Mapping Generator

Project Description

A simple utility to generate NHibernate mapping files and corresponding domain classes from existing DB tables.

Screenshot

It's in beta, I've not tried this though :)

o.k.w
A: 

There a new 2.0 Beta 2 release available with lots of new features and support for fluent nhibernate, one-to-many and many-to-many mapping.

http://www.codeplex.com/Wikipage?ProjectName=nmg

Jack