For an introduction to how to use the EF Power tool, see http://www.cnblogs.com/LingzhiSun/archive/2011/05/24/EFPowerTool_1.html, which is no longer verbose.
MySQL has a default sample database in the world, with three tables in it,
Download the entity Framework Power Tools installation package, which is now the BETA3 version, http://visualstudiogallery.msdn.microsoft.com/ 72a60b14-1581-4b9b-89f2-846072eff19d/
After downloading the installation, then create a new console project with the project name Efentity, then right-click on the project name and select entity framework– in the pop-up menu Reverse Engineering code First.
Select the appropriate database connection
You can see that the referenced assembly is not referenced
App. Config also has one more providers child node
<entityFramework>
<defaultconnectionfactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework ">
<parameters>
value="v11.0"/>
</parameters>
</defaultConnectionFactory>
Remove this child node
<provider invariantname="System.Data.SqlClient" type=" System.Data.Entity.SqlServer.SqlProviderServices, Entityframework.sqlserver "/>
</providers>
</entityFramework>
The providers sub-node needs to be deleted, referring to the MySQL connector driver
To run the program properly.
Entity Framework Code First---EF Power Tool working with MySQL problems encountered