How to use EF Core (EF7) with Mysql server?

梦想与她 提交于 2019-12-03 09:50:55

All available providers are listed at https://docs.microsoft.com/en-us/ef/core/providers/. At time of writing, there are 3 different EF Core providers, two community versions and one official version.

UPDATE Sept 15, 2016

MySQL released the first version of an official provider for EF Core.

https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore

There is also a community version of a MySQL provider

https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySQL

UPDATE May 23, 2016

MySQL has announced (quietly) that they are building an EF Core 1.0 provider. There are no details yet on its availability. See https://docs.efproject.net/en/latest/providers/mysql/index.html

Also, DevArt announced a month ago that their (proprietary, not-free) providers support EF 7 on .NET Framework only, including their MySQL provider. No news yet about their intention to support .NET Core. http://blog.devart.com/entity-framework-core-1-entity-framework-7-support.html

I have good news, guys. Like one said : "Pas le temps de niaiser". Entity Framework 7 will support soon MySQL, trusting this page from the documentation : https://docs.efproject.net/en/latest/providers/mysql/index.html#coming-soon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!