It looks like this has been fixed: [assembly: AssemblyVersion("1.0.1.321")] int index = dataReader.GetOrdinal(mapping.ColumnName); if (dataReader.IsDBNull(index) == true) { return System.DBNull.Value; } else { return dataReader.GetChar(index); }
[assembly: AssemblyVersion("1.1.458")] int index = dataReader.GetOrdinal(mapping.ColumnName); if (dataReader.IsDBNull(index) == true) { return System.DBNull.Value; } else { return dataReader.GetString(index)[0]; } --- Bob Hanson <[EMAIL PROTECTED]> wrote: > line 51 of CharTypeHandler.cs > return dataReader.GetChar(index); > is throwing a "Specified method is not supported." exception. > > I'm using the "sqlServer1.1" provider with datamapper v1.1.4322. > > I tried both char(1) and varchar(1) as the sql server type with char > as the property type. > > If I change the property type to string (thus not using > CharTypeHandler), my code runs fine. >