In the NHibernate mapping file, there is a pair of .Net type selection, multiple-to-many. Net type selection of the COLLECTION class mapping
The mapping of the Collection class .NET type is as follows:
ID, use IList: arraylist priority type
ID, use iDictionary: sortedlist IS priority type
ID, use IList: arraylist is priority type