using MySql.Data.MySqlClient;
Error 1 Cannot convert type 'System.Data.Common.DbCommandBuilder' to 'MySql.Data.MySqlClient.MySqlCommandBuilder' DataAccessMySQL.cs
protected virtual MySqlCommandBuilder CommandBuilder
{
get
{
// If a Command Builder doesn't exist, create one
if (this._commandBuilder == null)
{
this._commandBuilder = (MySqlCommandBuilder) this.CreateCommandBuilder(this.DataAdapter);
}
return this._commandBuilder;
}
set { this._commandBuilder = value; }
}
Error 2 Cannot implicitly convert type 'MySql.Data.MySqlClient.MySqlCommandBuilder' to 'System.Data.Common.DbCommandBuilder DataAccessMySQL.cs
public override DbCommandBuilder CreateCommandBuilder(IDbDataAdapter dataAdapter)
{
return new MySqlCommandBuilder((MySqlDataAdapter)dataAdapter);
}
Any ideas what I am doing wrong or have not done?
Or even better will there be a mySQL data access class coming soon?
TIA
Stuart