Friday, 27 July 2007

NHibernate plugin for Visual Studio 2005

I was only thinking the other day, "Wouldn't it be great if someone wrote an add-in to Visual Studio that let you drag tables from a database and it generated NHibernate-compatible class definitions and mapping for me".

Well it appears I wasn't the first to have this idea.

The project seems to be run by Adam Langley. There is some source code available, though not in the SourceForge SVN/CVS repository.

One problem at the moment is that it only generates C# code.


Anonymous said...

Dunn & Churchill make a convenient little plugin to do this called Diamond Binding
Dunn & Churchill
The personal edition is free

David Gardiner said...

I should also mention ActiveWriter too, which as of the latest version does VB and C#.

Anonymous said...

I hate tools that only works for the SQL Server. Why????

David Gardiner said...

Hi Anonymous,

I give up - why do you hate tools that only work for SQL Server?