This is a mirror of official site: http://jasper-net.blogspot.com/

NHibernate Mapping Generator

| Thursday, September 2, 2010
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.

Read more: Codeplex

Posted via email from .NET Info

0 comments: