Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Output parameters not updated after ExecuteReader()

When I run cmd.ExecuteScalar() or cmd.ExecuteNonQuery() the Output and InputOutput parameters on the command object get updated from the changes in the stored procedure. However the same does not happen for cmd.ExecuteReader(). This is happening on both Sql Server and MySql Connections. Is this behavior by design?

like image 208
My Other Me Avatar asked Dec 30 '22 13:12

My Other Me


1 Answers

Hey this may help you. clicky...

It appears this can possibly be an issue under certain circumstances.

like image 196
Blounty Avatar answered Jan 02 '23 09:01

Blounty