Chapter 11 Generating .NET 2.0 Persistent Objects and Windows Applications
NHibernate supports one-one, one-to-many/many-to-one, and many-to-many association mappings. The mapping modeling is same with standard O/R Mapping Modeling. However, NHibernate provides special options to define its association mappings, which will be saved into <Class>.hbm.xml mapping file. PowerDesigner allows you to define standard association attributes like Container Type class, role navigability, array size and specific extended attributes for NHibernate association mappings.
To define the NHibernate association mapping options:
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |