In the generated code below, Index represents an integer.
///<summary>
/// Returns a String that represents the current object.
///</summary>
public override string ToString()
{
return String.Format("Index: {0}{1}",
(Index ?? String.Empty),
System.Environment.NewLine);
}
Error
========
Operator '??' cannot be applied to operands of type 'int' and 'string'
Background
==========
This was generated against an Access database using the ADOX provider.
Mapping File
============
<Column Id="Index" CSType="System.Int32" PropertyName="Index"
FieldName="_index" FriendlyName="Index" IncludeInOutput="true" />
Original issue reported on code.google.com by james.pa...@gmail.com on 4 Aug 2010 at 1:36
Original issue reported on code.google.com by
james.pa...@gmail.com
on 4 Aug 2010 at 1:36