Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm new to C#, ado.net and visual studio 2012, just to make that clear from the beginning.
I'm trying to connect an ADO.NET Entity Data Model to a postgresql database.
I tell VS to 'generate mdoel from database' and click to make a new connection. Postgresql is not listed as an alternative data source (I can only see different microsoft mysql sources). I did download the npsql .dlls and put them in the projects\ folder. I then added them by PROJECT->Add Reference->browse, check them and press ok.

Postgresql does still not appear as an alternative when I try to make a new connection.

In advance, thanks!

share|improve this question
    
I'm able to add the database through VIEW->Server Explorer-> Data Connections right-click-> Add Connection and then add an ODBC data source. But after doing this, it still does not show up when creating a new entity model. –  user1815201 Jun 21 '13 at 11:58
    
Please post your code. It will make answering this MUCH simpler. –  Brian Jun 21 '13 at 18:40
1  
There's is no code. Also, I found a solution. Its not free, but it is something atleast. –  user1815201 Jun 22 '13 at 14:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.