You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use a char MySqlParameter with type Char causes an exception at AppendSqlString():
System.NotSupportedException: Parameter type Char (DbType: StringFixedLength) not currently supported.
Workaround: call ToString() on the character value when creating the MySqlParameter, but kind of annoying. Requires a shim or property type change if using Dapper or other ORM. Connector/NET handles this OOTB.
Seems like it should be a quick fix, I'll try to come back to this later. Trying to get tests to pass locally before modifying anything.
The text was updated successfully, but these errors were encountered:
Attempting to use a char
MySqlParameter
with typeChar
causes an exception atAppendSqlString()
:Workaround: call
ToString()
on the character value when creating theMySqlParameter
, but kind of annoying. Requires a shim or property type change if using Dapper or other ORM. Connector/NET handles this OOTB.Seems like it should be a quick fix, I'll try to come back to this later. Trying to get tests to pass locally before modifying anything.
The text was updated successfully, but these errors were encountered: