Chapter 11 Generating .NET 2.0 Persistent Objects and Windows Applications


Defining NHibernate Collection Container Type

NHibernate supports Set, Bag, List, Array, and Map mapping type, it restricts the container type. PowerDesigner does not support Map mapping type.

Collection Mapping Type Collection Container Type
Set Iesi.Collections.ISet
Bag System.Collections.IList
List System.Collections.IList
Array <None>

You can input the container type manually, or select the needed mapping type, and PowerDesigner will automatically select the correct container type.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.