Download NHibernate Mapping Generator
Description
A simple utility to generate NHibernate mapping files and corresponding domain classes from existing DB tables.It currently generates one mapping file (.hbm.xml) and the corresponding Domain class (*.cs) from oracle or sql server.
Source Files
The download file nmg.zip has the following entries.
.gitignore// w ww . j av a 2 s . c o m
BuildProcessTemplates/DefaultTemplate.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
Lib/CUBRID/CUBRID.Data.XML
Lib/CUBRID/CUBRID.Data.dll
Lib/CUBRID/CUBRID.Data.dll.config
Lib/CUBRID/CUBRID.Data.pdb
Lib/CUBRID/Signing/CUBRID.snk
Lib/FastColoredTextBox/FastColoredTextBox.dll
Lib/FastColoredTextBox/htmlDesc.xml
Lib/Ingres .NET Data Provider/Ingres.Client.dll
Lib/Ingres .NET Data Provider/Ingres.Client.xml
Lib/Microsoft.Data.ConnectionUI/Microsoft.Data.ConnectionUI.Dialog.dll
Lib/Microsoft.Data.ConnectionUI/Microsoft.Data.ConnectionUI.dll
Lib/MySql/MySql.Data.dll
Lib/NUnit/NUnitFitTests.html
Lib/NUnit/NUnitTests.config
Lib/NUnit/NUnitTests.nunit
Lib/NUnit/clr.bat
Lib/NUnit/failure.jpg
Lib/NUnit/fit.dll
Lib/NUnit/ignored.jpg
Lib/NUnit/loadtest-assembly.dll
Lib/NUnit/mock-assembly.dll
Lib/NUnit/mock-assembly.dll.config
Lib/NUnit/nonamespace-assembly.dll
Lib/NUnit/notestfixtures-assembly.dll
Lib/NUnit/nunit-console-runner.dll
Lib/NUnit/nunit-console-x86.exe
Lib/NUnit/nunit-console-x86.exe.config
Lib/NUnit/nunit-console.exe
Lib/NUnit/nunit-console.exe.config
Lib/NUnit/nunit-console.tests.dll
Lib/NUnit/nunit-console.tests.dll.config
Lib/NUnit/nunit-gui-runner.dll
Lib/NUnit/nunit-gui.tests.dll
Lib/NUnit/nunit-gui.tests.dll.config
Lib/NUnit/nunit-x86.exe
Lib/NUnit/nunit-x86.exe.config
Lib/NUnit/nunit.core.dll
Lib/NUnit/nunit.core.extensions.dll
Lib/NUnit/nunit.core.interfaces.dll
Lib/NUnit/nunit.core.tests.dll
Lib/NUnit/nunit.core.tests.dll.config
Lib/NUnit/nunit.exe
Lib/NUnit/nunit.exe.config
Lib/NUnit/nunit.extensions.tests.dll
Lib/NUnit/nunit.extensions.tests.dll.config
Lib/NUnit/nunit.fixtures.dll
Lib/NUnit/nunit.fixtures.tests.dll
Lib/NUnit/nunit.framework.dll
Lib/NUnit/nunit.framework.extensions.dll
Lib/NUnit/nunit.framework.tests.dll
Lib/NUnit/nunit.framework.tests.dll.config
Lib/NUnit/nunit.framework.xml
Lib/NUnit/nunit.mocks.dll
Lib/NUnit/nunit.mocks.tests.dll
Lib/NUnit/nunit.mocks.tests.dll.config
Lib/NUnit/nunit.uikit.dll
Lib/NUnit/nunit.uikit.tests.dll
Lib/NUnit/nunit.uikit.tests.dll.config
Lib/NUnit/nunit.util.dll
Lib/NUnit/nunit.util.tests.dll
Lib/NUnit/nunit.util.tests.dll.config
Lib/NUnit/runFile.exe
Lib/NUnit/runFile.exe.config
Lib/NUnit/success.jpg
Lib/NUnit/test-assembly.dll
Lib/NUnit/test-utilities.dll
Lib/NUnit/timing-tests.dll
Lib/Nant/NAnt.CompressionTasks.dll
Lib/Nant/NAnt.CompressionTasks.xml
Lib/Nant/NAnt.Core.dll
Lib/Nant/NAnt.Core.xml
Lib/Nant/NAnt.DotNetTasks.dll
Lib/Nant/NAnt.DotNetTasks.xml
Lib/Nant/NAnt.MSNetTasks.dll
Lib/Nant/NAnt.MSNetTasks.xml
Lib/Nant/NAnt.NUnit.dll
Lib/Nant/NAnt.NUnit.xml
Lib/Nant/NAnt.NUnit1Tasks.dll
Lib/Nant/NAnt.NUnit1Tasks.xml
Lib/Nant/NAnt.NUnit2Tasks.dll
Lib/Nant/NAnt.NUnit2Tasks.xml
Lib/Nant/NAnt.SourceControlTasks.dll
Lib/Nant/NAnt.SourceControlTasks.xml
Lib/Nant/NAnt.VSNetTasks.dll
Lib/Nant/NAnt.VSNetTasks.xml
Lib/Nant/NAnt.VisualCppTasks.dll
Lib/Nant/NAnt.VisualCppTasks.xml
Lib/Nant/NAnt.Win32Tasks.dll
Lib/Nant/NAnt.Win32Tasks.xml
Lib/Nant/NAnt.exe
Lib/Nant/NAnt.exe.config
Lib/Nant/NAnt.xml
Lib/Nant/NDoc.Documenter.NAnt.dll
Lib/Nant/extensions/common/2.0/NAnt.MSBuild.dll
Lib/Nant/extensions/common/2.0/NAnt.MSBuild.xml
Lib/Nant/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll
Lib/Nant/lib/common/neutral/ICSharpCode.SharpCvsLib.dll
Lib/Nant/lib/common/neutral/ICSharpCode.SharpZipLib.dll
Lib/Nant/lib/common/neutral/NUnitCore.dll
Lib/Nant/lib/mono/1.0/NDoc.Core.dll
Lib/Nant/lib/mono/1.0/NDoc.Documenter.Msdn.dll
Lib/Nant/lib/mono/1.0/NDoc.ExtendedUI.dll
Lib/Nant/lib/mono/1.0/nunit.core.dll
Lib/Nant/lib/mono/1.0/nunit.framework.dll
Lib/Nant/lib/mono/1.0/nunit.util.dll
Lib/Nant/lib/mono/2.0/NDoc.Core.dll
Lib/Nant/lib/mono/2.0/NDoc.Documenter.Msdn.dll
Lib/Nant/lib/mono/2.0/NDoc.ExtendedUI.dll
Lib/Nant/lib/mono/2.0/nunit.core.dll
Lib/Nant/lib/mono/2.0/nunit.framework.dll
Lib/Nant/lib/mono/2.0/nunit.util.dll
Lib/Nant/lib/net/1.0/NDoc.Core.dll
Lib/Nant/lib/net/1.0/NDoc.Documenter.Msdn.dll
Lib/Nant/lib/net/1.0/NDoc.ExtendedUI.dll
Lib/Nant/lib/net/1.0/nunit.core.dll
Lib/Nant/lib/net/1.0/nunit.framework.dll
Lib/Nant/lib/net/1.0/nunit.util.dll
Lib/Nant/lib/net/1.1/NDoc.Core.dll
Lib/Nant/lib/net/1.1/NDoc.Documenter.Msdn.dll
Lib/Nant/lib/net/1.1/NDoc.ExtendedUI.dll
Lib/Nant/lib/net/1.1/nunit.core.dll
Lib/Nant/lib/net/1.1/nunit.framework.dll
Lib/Nant/lib/net/1.1/nunit.util.dll
Lib/Nant/lib/net/2.0/NDoc.Core.dll
Lib/Nant/lib/net/2.0/NDoc.Documenter.Msdn.dll
Lib/Nant/lib/net/2.0/NDoc.ExtendedUI.dll
Lib/Nant/lib/net/2.0/nunit.core.dll
Lib/Nant/lib/net/2.0/nunit.framework.dll
Lib/Nant/lib/net/2.0/nunit.util.dll
Lib/Nant/log4net.dll
Lib/Nant/scvs.exe
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/Mono.Security.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/Npgsql.XML
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/Npgsql.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/Npgsql.pdb
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/de/Npgsql.resources.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/es/Npgsql.resources.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/fi/Npgsql.resources.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/fr/Npgsql.resources.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/ja/Npgsql.resources.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/policy.2.0.Npgsql.config
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/policy.2.0.Npgsql.dll
Lib/Npgsql2.0.11-bin-ms.net3.5sp1/zh-CN/Npgsql.resources.dll
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/Installer.exe
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/Installer.pdb
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/SQLite.Designer.dll
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/SQLite.Designer.pdb
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/SQLite.Designer.xml
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.Linq.dll
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.Linq.pdb
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.Linq.xml
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.dll
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.pdb
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/System.Data.SQLite.xml
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/northwindEF.db
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/test.exe
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/test.exe.config
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/test.pdb
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/testlinq.exe
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/testlinq.exe.config
Lib/sqlite-netFx40-binary-bundle-Win32-2010-1.0.82.0/testlinq.pdb
NMG.App/App.Designer.cs
NMG.App/App.cs
NMG.App/App.resx
NMG.App/ApplicationController.cs
NMG.App/ApplicationSettings.cs
NMG.App/Applications.ico
NMG.App/ConnectionDialog.Designer.cs
NMG.App/ConnectionDialog.cs
NMG.App/ConnectionDialog.resx
NMG.App/DataConnectionConfiguration.cs
NMG.App/IDataConnectionConfiguration.cs
NMG.App/NMG.App.csproj
NMG.App/NMG.App.csproj.user
NMG.App/Program.cs
NMG.App/Properties/AssemblyInfo.cs
NMG.App/Properties/Resources.Designer.cs
NMG.App/Properties/Resources.resx
NMG.App/Properties/Settings.Designer.cs
NMG.App/Properties/Settings.settings
NMG.App/app.config
NMG.Core/ApplicationPreferences.cs
NMG.Core/ByCode/DBColumnMapper.cs
NMG.Core/DataTypeMapper.cs
NMG.Core/Domain/ColumnDetail.cs
NMG.Core/Domain/ColumnDetails.cs
NMG.Core/Domain/DotNetTypes.cs
NMG.Core/Domain/Language.cs
NMG.Core/Domain/PrimaryKeyType.cs
NMG.Core/Domain/ServerType.cs
NMG.Core/Domain/Table.cs
NMG.Core/Domain/ValidationStyle.cs
NMG.Core/FieldNamingConvention.cs
NMG.Core/Fluent/Constants.cs
NMG.Core/Fluent/DBColumnMapper.cs
NMG.Core/Generator/AbstractCodeGenerator.cs
NMG.Core/Generator/AbstractGenerator.cs
NMG.Core/Generator/ByCodeGenerator.cs
NMG.Core/Generator/CUBRIDMappingGenerator.cs
NMG.Core/Generator/CastleGenerator.cs
NMG.Core/Generator/CodeGenerationHelper.cs
NMG.Core/Generator/CodeGenerator.cs
NMG.Core/Generator/ContractGenerator.cs
NMG.Core/Generator/EntityFrameworkGenerator.cs
NMG.Core/Generator/FluentGenerator.cs
NMG.Core/Generator/IGenerator.cs
NMG.Core/Generator/MappingGenerator.cs
NMG.Core/Generator/MysqlMappingGenerator.cs
NMG.Core/Generator/NpgsqlMappingGenerator.cs
NMG.Core/Generator/OracleMappingGenerator.cs
NMG.Core/Generator/SqlMappingGenerator.cs
NMG.Core/MetadataFactory.cs
NMG.Core/NMG.Core.csproj
NMG.Core/PrimaryKeyType.cs
NMG.Core/Properties/Annotations.cs
NMG.Core/Properties/AssemblyInfo.cs
NMG.Core/Reader/CUBRIDConstraintType.cs
NMG.Core/Reader/CUBRIDMetadataReader.cs
NMG.Core/Reader/IConstraintTypeResolver.cs
NMG.Core/Reader/IMetadataReader.cs
NMG.Core/Reader/IngresMetadataReader.cs
NMG.Core/Reader/MysqlConstraintType.cs
NMG.Core/Reader/MysqlMetadataReader.cs
NMG.Core/Reader/NpgsqlConstraintType.cs
NMG.Core/Reader/NpgsqlMetadataReader.cs
NMG.Core/Reader/OracleConstraintType.cs
NMG.Core/Reader/OracleMetadataReader.cs
NMG.Core/Reader/SqlServerConstraintType.cs
NMG.Core/Reader/SqlServerMetadataReader.cs
NMG.Core/Reader/SqliteMetadataReader.cs
NMG.Core/Reader/SybaseMetadataReader.cs
NMG.Core/TextFormatter/Inflector.cs
NMG.Core/TextFormatter/TextFormatter.cs
NMG.Core/Util/Extensions.cs
NMG.Core/Util/StringConstants.cs
NMG.Installer/NMG.Installer.vdproj
NMG.Tests/Core/ColumnDetailsTest.cs
NMG.Tests/DataTypeMapperTest.cs
NMG.Tests/Fluent/DBColumnMapperTest.cs
NMG.Tests/Generator/CodeGenerationHelperTest.cs
NMG.Tests/Generator/CodeGeneratorTest.cs
NMG.Tests/Generator/OracleMappingGeneratorTest.cs
NMG.Tests/Generator/SqlMappingGeneratorTest.cs
NMG.Tests/Lib/Castle.Core.dll
NMG.Tests/Lib/Castle.DynamicProxy2.dll
NMG.Tests/Lib/Rhino.Mocks.dll
NMG.Tests/Lib/Rhino.Mocks.xml
NMG.Tests/Lib/nunit.framework.dll
NMG.Tests/MetadataFactoryTest.cs
NMG.Tests/NMG.Tests.csproj
NMG.Tests/Properties/AssemblyInfo.cs
NMG.Tests/Reader/OracleMetadataReaderTest.cs
NMG.Tests/Reader/oracle_configure.sql
NMG.Tests/TextFormatterTest.cs
NMG.Tests/Util/StringExtensionsTest.cs
NMG.sln
NMG.sln.DotSettings
b.cmd
default.build
Download
Click the following link to download nmg.zip.
nmg.zip