NHibernate Mapping Generator 2.0 Beta 2

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 687
Change Set: 54629
Released: Aug 30, 2010
Updated: Sep 1, 2010 by lengtche
Dev status: Beta Help Icon

Recommended Download

Application NHibernate Mapping Generator 2.0 Beta 2
application, 880K, uploaded Aug 30, 2010 - 687 downloads

Release Notes

Before installation this version you must uninstall your previous version of NMG.

- Added partial support for composite id's. Only thing that is missing is the override for Equals() and GetHashCode().
- From what I can see, SQL Server 2000, 2005 and 2008 are supported. Although, this could use a little more testing.
- Models will now always be singular.
- Added support for one-to-many (HasMany) for both Oracle and SQL Server.
- One-to-many relationships will now have the property name pluralized (for example: public virtual IList<Order> Orders { get; set; } )
- Nullable fields will now have a nullable type if one is available.
- Added experimental support for Castle Active Record mappings.
- For Fluent NH, if the primary key is a string, we will use GeneratedBy.Assigned() instead of GeneratedBy.Identity() (only works for numbers).
- Lastly, from my testing, the application generates models far faster on large databases. I tested it on a legacy database with 300 tables with several (100) tables having 60 fields. The generation took nothing more than what I recall 1-2 minutes.
- Should now work with .NET 3.5

For the most part it should generate correct HBM and Fluent mappings. Please let us know of any bugs you encounter.

Thank you. :)

Reviews for this release

Best NHibernate Entity Generator I tried
by matik on Sep 21, 2010 at 3:19 PM