【Mysql 调用存储过程,输出参数的坑】

玛德,数据行都返回过来了,就是没有输出参数!!!

扒官方设计文档:这么一段 雷死人了!!!

 

When a stored procedure is called using MySqlCommand.ExecuteReader, and the stored procedure has output parameters, the output parameters are only set after the MySqlDataReader returned by ExecuteReader is closed

 

posted @ 2016-07-13 11:13  特洛伊-Micro  阅读(1469)  评论(0编辑  收藏  举报