PostgreSQL data provider missing from wizard in Visual Studio 2015

后端 未结 2 1422
旧巷少年郎
旧巷少年郎 2021-01-24 05:13

I\'ve spent a day trying to migrate an Entity Framework 6 SQL Server CE to PostgreSQL.

I\'ve copied the database over fine, but I can\'t seem to get the data provider to

2条回答
  •  广开言路
    2021-01-24 06:07

    Installing the npgsql extension as described in tsChan's answer wasn't enough for me, I also had to modify my app.config (I suspect because it was created before I installed the extension) to include the npgsql data provider in the EntityFramework section as follows:

    
        
        
                
          
        
      
    

    After I did that, the provider appeared in the wizard options.

提交回复
热议问题