AFO NHibernate Model Code Generator
This application will read a Microsoft SQL Server 2005/2008 database schema and generate NHibernate C# classes.
This application was built with T4 and is available in as a Windows application that supports code generation for complex "legacy" databases.
Both .NET 3.5 and 4.0 are supported (Visual Studio 2008 & 2010).