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.
As discussed in #231, a Command with
CommandType.Textonly supportsParameterDirection.Inputparameters. 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.