How to get Npgsql to work with EF4?

Hey, I know this is an old question, but I'm getting a little stuck trying to even get Npgsql to work with EF4 in general! It seems that I cannot register the provider where he needs him to appear in the Entity Data Wizard.

When I try to create a new model, I will try to create a connection to the Postgres database in the "Change Data Source" dialog box. But the only suppliers here are the different tastes of MSSQL and "". The data provider component in this form does not display Npgsql or anything related to postgres.

I have already done the usual registration of npgsql and security monoblocks in the GAC. I changed machine.config (32 and 64 bits) to have access to the factory provider.

I am using VS2010 SP1 for Windows 7 64bit and Npgsql 2.0.11.92. I am developing for .NET4.

Any ideas on how to get this job would be greatly appreciated.

+4
source share
1 answer

Unfortunately, Npgsql does not support VS Wizards. We have a very early job that you can try.

Browse our download pages and find the Npgsql.Provider.zip file. Follow the installation instructions there and let me know if it works fine for you.

Again, sorry for the lack of support.

Hope this helps.

+1
source

Source: https://habr.com/ru/post/1389345/


All Articles