We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd423fa commit f06ed98Copy full SHA for f06ed98
Provider/src/FirebirdSql.Data.FirebirdClient/Common/TypeHelper.cs
@@ -400,7 +400,11 @@ public static FbDbType GetFbDataTypeFromType(Type type)
400
return GetFbDataTypeFromType(Enum.GetUnderlyingType(type));
401
}
402
403
- if (type == typeof(System.String) || type == typeof(System.DBNull))
+ if (type == typeof(System.DBNull))
404
+ {
405
+ return FbDbType.VarChar;
406
+ }
407
+ if (type == typeof(System.String))
408
{
409
return FbDbType.VarChar;
410
0 commit comments