System.NotImplementedException : GetFieldType for Null is not implemented
at MySql.Data.MySqlClient.Results.ResultSet.GetFieldType(Int32 ordinal)
at MySql.Data.MySqlClient.MySqlDataReader.GetFieldType(Int32 ordinal)
at Dapper.SqlMapper.GetColumnHash(IDataReader reader, Int32 startBound, Int32 length)
at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType)
at Dapper.SqlMapper.QuerySingle[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)
at Dapper.Tests.Common.DapperEnumValue(IDbConnection connection)
at Dapper.Tests.MySQLTests.DapperEnumValue_Mysql()
Dapper includes a MySQLTests test suite.
If I change the tests to use the
MySqlConnectorNuGet package instead ofMySql.Data,DapperEnumValue_Mysqlfails with: