I have to use EF with MySql. For use MySql I have call the SetSqlGenerator("MySql.Data.MySqlClient", new MySql.Data.Entity.MySqlMigrationSqlGenerator()); in my cod