Is there any mapping tool for nhibernate-mysql? I want a mapping tool that
- Takes in a MySQL database
- General the relevant hbm.xml file
- Create the data access layer class that maps to each table.
Is there any such tools available?
Is there any mapping tool for nhibernate-mysql? I want a mapping tool that
Is there any such tools available?
There is only one tool similar to what you describe which is called ActiveWriter which is a VStudio addon. It is useful but have some serious limitations. I would consider using NHibernate Fluent or ActiveRecords instead.
This popped up on the NHibernate users group some time back. General feeling was that it's a bag of hurt generating hbm.xml from database. Better to write classes and XML files.
One guy suggested MyGeneration, which might be worth a look.