What tool is there for generating C# classes from NHibernate mappings files?
Asked
Active
Viewed 3,126 times
3 Answers
1
On the NHibernate resources page under 'Helpful tools', there are a few code generators listed: http://nhibernate.info/doc/nh/en/index.html

Owen Pauling
- 11,349
- 20
- 53
- 64

Andy Whitfield
- 2,373
- 2
- 19
- 22
1
NConstruct Lite generate both mapping files and C# classes - all data is read from a database (MS SQL, Oracle, Access).

Thomas Tekavec
- 39
- 3
0
I wrote a small one : http://www.codeplex.com/EntityGenerator
Currently it's a small console application with a configuration file. Not very user friendly but it works and the templates are easily customizable.
Still under heavy development, I'll update it when I have some time :)

mathieu
- 30,974
- 4
- 64
- 90