In the Nhibernate Mode, there is <Any> Association Feature that Doesn't Supported By Entity Developer, And Is a Important Feature.
Mapping For Any Association:
<class name='NHibernate.Any.Rule, NHibernate.Any' table='`Rule`'>
<id name='Id'>
<generator class='identity'/>
</id>
<any name='AppliesTo' meta-type='System.String' id-type='System.Int32'>
<meta-value class='NHibernate.Any.Account, NHibernate.Any' value='ACC'/>
<meta-value class='NHibernate.Any.Customer, NHibernate.Any' value='CUST'/>
<column name='AppliesToType'/>
<column name='AppliesToId'/>
</any>
</class>
<Any> Association Support
Re: <Any> Association Support
The <Any> Association feature is not supported at the moment. We will investigate the question and post here about the results as soon as possible.