Re: Affected rows by ExecuteNonQuery()
Posted by: Miha Svalina
Date: October 21, 2013 01:35AM

Thank you Fernando for your answer and testing.
I found your posted code in file Source\MySql.Data\command.cs. I will probably fill in documentation bug report. I assume many people use ExecuteNonQuery() return value for affected rows, so I hope it will be in documentation. I also found that Connector/Net is a fully-managed ADO.NET driver for MySQL (http://dev.mysql.com/downloads/connector/net/). I assume it implements ado.net interface and therefore method ExecuteNonQuery returns number of rows affected (http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executenonquery.aspx)

Options: ReplyQuote


Subject
Written By
Posted
Re: Affected rows by ExecuteNonQuery()
October 21, 2013 01:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.