No Entity Framework provider found for 'MySql.Data.MySqlClient' ADO.NET provider

前端 未结 11 720
青春惊慌失措
青春惊慌失措 2020-11-29 04:45

I\'m trying to use Entity Framework with MySQL and I get the above error. I have the latest MySQL connector installed.

The full error reads:

No Entit         


        
11条回答
  •  情深已故
    2020-11-29 05:05

    You need to create this section in config (EF 5):

    
      
      
        
      
    
    

    Update: Use this definition for EF 6:

    
      
      
        
      
    
    

    Thanks to elcool.

提交回复
热议问题