Hallo, this is my first post.
I'm using a custom generic Collection called TList<T> which implement The IList<T> interface.
What is the right method to map the class.
<class name="Test3.BLL.Account, Test3.BLL" table="Account">
<id name="IdAccount" type="Int32" column="IdAccount">
<generator class="identity" />
</id>
<bag name="AccountSettingsCollection" generic="true" inverse="true">
<key column="IdAccount" />
<one-to-many class="Test3.BLL.AccountSettings, Test3.BLL" />
</bag>
........
........
How can i set the AccountSettingsCollection Bag to use PersistenGenericList<T>.
Thanks.
|