Enity Framework With MySQL

后端 未结 4 2018
滥情空心
滥情空心 2020-12-09 11:40

I am getting the following error

\"The Entity Framework provider type \'MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity\' registered in the applicati

4条回答
  •  盖世英雄少女心
    2020-12-09 12:30

    You Could Also Do the Following

    [DbConfigurationType(typeof(MySql.Data.Entity.MySqlEFConfiguration))]
    public class DemoContext : DbContext{}
    {
    

提交回复
热议问题