I'm working with a codebase that has the equivalent to the following:
public class CustomList<T> : List<T>
And then in a subsequent Class
public interface ISomeObject {
string Name { get; set; }
CustomList<ISomeOtherObject> SomeOtherObjects { get; set; }
}
Now in the Mapping file for a normal List the xml would be (I've checked this works):
<list name="SomeOtherObjects " table="SomeOtherObject">
<key column="Id"/>
<index column="Reference"/>
<composite-element class="SomeOtherObject" />
</list>
I need to find out what the equivalent xml is for the CustomList. I've googled and searched here until I am blue in the face finding bits and pieces about components and how to map custom collections but so far I've not been able to find enough to get me over this hurdle. I am trialing and erroring like mad with all the different properties so if anyone has a snippet example of how to map a custom list I'd be very greatful.
Cheers.