I guess no
here is the Order.cs in SVN
#if dotnet2
private IList<LineItem> _genericList;
public IList<LineItem> LineItemsGenericList
{
get { return _genericList; }
set { _genericList = value; }
}
#else
private IList _genericList;
public IList LineItemsGenericList
{
get { return _genericList; }
set { _genericList = value; }
}
#endif
On 2/18/06, Ron Grabowski <[EMAIL PROTECTED]> wrote:
Gilles, did you forget to check-in the updated Order.cs file? I get
this exception when I try to run the tests with NUnit 2.2.6 and VS2003:
IBatisNet.Common.Exceptions.ConfigurationException:
- The error occurred while loading SqlMap.
- initialize result property: LineItemsGenericList
- The error occurred in <sqlMap
resource="../../Maps/MySql/MySql/Order.xml"
xmlns="http://ibatis.apache.org/dataMapper" />.
- Check the Order.order-with-generic-list-lineitem. --->
IBatisNet.Common.Exceptions.ConfigurationException : Could not configure
ResultMap. ResultMap named "order-with-generic-list-lineitem" not
found, failed.
Cause: There is no Set property named 'LineItemsGenericList' in class
'Order'
I added:
// temp fix for .NET 1.1
private IList _lineItemsGenericList;
public IList LineItemsGenericList
{
get { return _lineItemsGenericList; }
set { _lineItemsGenericList = value; }
}
to the class. I think there needs to be some sort of dotnet2 directive
around that.