
Install 4 Nuget Packages (follow sequence, if you install before EntityFramework, it will resolve dependency and install EntityFramework 6.0.2 but what we need is EntityFramework 6.1.0)ĥ.If you have tag entityFramework in App.config, please comment it and insert new tag entityFramework in App.config after tag startup Ħ.Add ADO.NET Entity Data Model (as mentioned in question)ħ.After Entity Connection string is generated (as mentioned in question) and Tick Save entity connection settings in App.Config as then click NextĨ.Net 4.5 Framework WinForms (for 4.0 it should work based on Does Entity Framework 6 support. Install the latest mysql-visualstudio-plugin.Install a compatible provider, and rebuid your project beforeīy the way, if you install Entity Framework version 5 in Nuget Package then you might have option Entity Framework 5.0 here and you might success to use Entity Framework 5 but not the version 6.įirst of all, we don't even need to install the mysql-installer- community-5.7.3.0-m13.msi. Version could not be found for your data connection. However, an Entity Framework database provider compatible with this "Your project references the latest version of Entity Framework Have option Entity Framework 6.0 but you cannot use it because Which version of Entity Framework do you want to use? Then Entity Connection string is generated -> Tick Save entity connection settings in App.Config as -> Next> -> > Choose the Database name-> Test Connection -> OK > Fill in the Server name with server IP, Username and Password > Data sources: -> Change.-> MySQL Database > Generate from Database -> New Connection Right click Project -> Add -> New Item -> ADO.NET Entity Data Model When I tried to add ADO.NET Entity Data Model via Of this package and it should be version 6.0.2, if not then click > Online -> (Search) EntityFramework (beware of version TOOLS menu -> Library Package Manager -> Manage NuGet Packages for (so I only have App.config but no app/web config in the project)Īfter I installed mysql-installer-community-5.7.3.0-m13.msi and Yesterday I knew that Entity Framework is another method to access database beside using Dataset or DataReader,then I tried to make Entity Framework 6 work for my MySql database server in MVS 2013.
