MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: MySQL .Net Connector not available on EF 6.0
Posted by: Gabriela Martinez Sanchez
Date: July 23, 2014 02:03PM

Hi Fabricio,

I strongly recommend you to use the following versions, since these are the most recent and bug free that we have.

MySQL for Visual Studio 1.2.2

MySQL Connector/net 6.9.2

If you want to keep using the ones you already have please follow these steps:

a. Add the reference for the new assembly called MySql.Data.Entity.EF6 and copy it to the bin forlder of your application.
b. Add the provider to your app/web config file on the providers for Entity Framework section with the following line:
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"></provider>
c. Before you run the Wizard compile your application so the new changes are applied.
d. Now the EF 6 option should be enabled.

Hope this helps.

Options: ReplyQuote

Written By
Re: MySQL .Net Connector not available on EF 6.0
July 23, 2014 02:03PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.