MySqlDataReader in WebSite Programming
I am using as a model Marco Bellinaso's ASP.NET 2.0 WebSite Programming. However, instead of a SqlClient layer I have a MySqlClient layer.
The statement: GetXCollectionFromReader(ExecuteReader(cmd));
will not compile. The message is 'Cannot convert from MySqlCommand to DbCommand. (cmd is of type MySqlCommand)
Are there any known issues in trying to implement a MySqlClient with Marco's structure? MySqlDataReader implements IDataReader so I'm not sure where the problem lies.
|