What steps will reproduce the problem?
1. ArcSDE Connection
2. Run Query
3. Exception
What is the expected output? What do you see instead?
No Exception
What version of the product are you using? On what operating system?
Build from SVN 16/12/09
Please provide any additional information below.
To fix add a similar set of conversions as the aggregate reader but with
reader.GetColumnType(property);
aka...
Line 771+ "FdoFeatureServices.cs" - the previous code expected an Int64 but
running here I got a double.
Crispin
DataType dt = reader.GetColumnType(property);
switch (dt)
{
case DataType.DataType_Int16:
count = reader.GetInt16(property);
break;
case DataType.DataType_Int32:
count = reader.GetInt32(property);
break;
case DataType.DataType_Int64:
count = reader.GetInt64(property);
break;
case DataType.DataType_Double:
count = Convert.ToInt64(reader.GetDouble(property));
break;
case DataType.DataType_Single:
count = Convert.ToInt64(reader.GetSingle(property));
break;
case DataType.DataType_Decimal:
count = Convert.ToInt64(reader.GetDouble(property));
break;
}
Original issue reported on code.google.com by Cris...@gmail.com on 16 Dec 2009 at 2:17
Original issue reported on code.google.com by
Cris...@gmail.com
on 16 Dec 2009 at 2:17