As discussed in #231, a Command with CommandType.Text only supports ParameterDirection.Input parameters. Until that case is implemented, it would be helpful for clients if an exception with a descriptive error message was thrown if a parameter with an unsupported direction is used.
The text was updated successfully, but these errors were encountered:
…net#234
Add better tracking of whether the client has explicitly set MySqlParameter.ParameterDirection, and add parameter validation.
Verify that MySqlParameter default values match the baseline.
As discussed in #231, a Command with
CommandType.Text
only supportsParameterDirection.Input
parameters. Until that case is implemented, it would be helpful for clients if an exception with a descriptive error message was thrown if a parameter with an unsupported direction is used.The text was updated successfully, but these errors were encountered: