Using the following code:
MySqlParameter curParam = new MySqlParameter(elemParam.GetAttribute("dbName"), paramType);
curParam.Direction = System.Data.ParameterDirection.Output;
oCmd.Parameters.Add(curParam);
After executing the query (when the connection is still open), curParam.value returns NULL.
The stored procedure otherwise returns the correct results. Additionally, when running the Stored Procedure directly in the console, the output param returns correctly as well.
Is this a bug?
MySqlParameter curParam = new MySqlParameter(elemParam.GetAttribute("dbName"), paramType);
curParam.Direction = System.Data.ParameterDirection.Output;
oCmd.Parameters.Add(curParam);
After executing the query (when the connection is still open), curParam.value returns NULL.
The stored procedure otherwise returns the correct results. Additionally, when running the Stored Procedure directly in the console, the output param returns correctly as well.
Is this a bug?