3

I'm creating an ASP MVC 3 website. I have a Postgresql database - I'm using Entity Framework 6 - I have referenced Npgsql and Npgsql.EntityFramework and installed dotConnect for PostgreSQL. The connection with the Postgresql database works fine - when I want to add a database connection I have PostgreSQL server in the data source list:

enter image description here

But when I want to add an ADO.NET Entity Data Model to the project there isn't PostgreSQL server in the data source list :

enter image description here

flofreelance
  • 944
  • 3
  • 14
  • 31
  • Can you help me please? I'm stuck, I don't know what to do... – flofreelance Aug 10 '15 at 19:37
  • *I have referenced Npgsql and Npgsql.EntityFramework and installed dotConnect for PostgreSQL*. Assuming you meant "removed" instead of "referenced"? If so: why? What problem are you trying to solve by doing this? My first guess here is that you installed only the 64-bit dotconnect driver, and your IDE is 32-bit, but that's just a guess, and one I'm not even sure makes sense in .NET. It's a common issue with ODBC. – Craig Ringer Aug 11 '15 at 00:58
  • Do you want to use Npgsql or dotConnect? Those two are different implementations of a PostgreSQL driver for .NET. Have you read the documentation at http://www.npgsql.org/doc/ddex.html? – Emil Aug 11 '15 at 23:05

0 Answers0