the problem i have manifests it self only on the latest version of MySQL Connector .Net (6.10 at this date)
For ages i have the following working correctly in Both MSSQL and MYSQL:
- Create DbConnection
- Create DbCommand using previous connection
- Execute
- Get DbDataReader
- Dispose of DbCommand, not the connection (Done at this point because its a wrapper class)
- Read the data from the DbDataReader
All of this is working correctly in MSSQL and MYSQL v6.9 (even SQLite since the wrapper class handles it to)
Now, with MySQL Connector 6.10, when the DbCommand gets Disposed, the DataReader gets closed.
My question is: Can anyone confirm that this behaviour is here to stay or may reverted in the future?
Its a bit odd having DB providers behaving differently from one another a such a high level.
I realize this may be better asked on MySQL Developer Zone, but i don't have an account, maybe i will need to create one.
Thank you