I'm using NHibernate-1.2.0.Alpha1-debug with .Net 2.0
I can see why this error is happening, but I dont know how to get round it,
My Mapping file contains
Code:
<!-- A list of items belonging to this invoice header -->
<set name="items" table="tblinvoiceitems" order-by="itemnumber">
<key column="headerptr"/>
<one-to-many class="invoiceItem"/>
</set>
And my Invoiceheader class contains.
Code:
private ICollection<invoiceItem> _items;
public virtual ICollection<invoiceItem> items
{
get {
return _items;
}
set { _items = value; }
}
So my question is, how do I get sorted sets to work with .NET 2 & NHibernate-1.2.0.Alpha1-debug ?
Can I use .Net 2.0 collections ?
Do I have to use iesi ?
Many thanks