Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
At present no official provider from MySQL exists for Entity Framework Core which can be used in an ASP.NET Core application.

Please suggest me how to connect entity framework core for MYSQL in dot net core application.

Thanks, Ritesh


What I have tried:

<pre>At present no official provider from MySQL exists for Entity Framework Core which can be used in an ASP.NET Core application.

Please suggest me how to connect entity framework core for MYSQL in dot net core application.

Thanks, Ritesh
Posted
Updated 17-May-17 6:48am

If no MySQL provider exists then you can't do it. Look to use some other data access technology that does support MySQL such as ADO.net[^]
 
Share this answer
 
There's an official pre-release provider on NuGet: MySQL | Microsoft Docs[^]
Install-Package MySql.Data.EntityFrameworkCore -Pre

There are also two other third-party providers listed:
Pomelo | Microsoft Docs[^]
Sapient Guardian | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900