MySQL have double type. And it's not switched in GetSysType and GetDbType of MySQL.ttinclude.
This is can be fixed like this:
string GetSysType(string sqlType){
...
case "double":
case "float":
sysType="double";
break;
...
}
DbType GetDbType(string sqlType){
...
case "double":
case "float":
return DbType.Double;
...
}
MySQL have double type. And it's not switched in GetSysType and GetDbType of MySQL.ttinclude. This is can be fixed like this: string GetSysType(string sqlType){ ... case "double": case "float": sysType="double"; break; ... }
DbType GetDbType(string sqlType){ ... case "double": case "float": return DbType.Double; ... }