1

I am trying to create entities from a postgres database using the Visual Studio ADO.NET Entity Data Model, however Postgres Database is not listed as one of the data sources. I have installed dotconnect for PostgreSQL and still the option to create a model/schema of the database is not available. I am using Visual Studio 2013.

Could anyone help please? I need to query database entities from my C# application. Thanks

1 Answer 1

1

I just had the same problem.

As you can read in the requirements of the dotconnect emf tutorial you have to install the Professional addition:

"Note that Entity Framework support is not available in Standard Edition of dotConnect for PostgreSQL."

If you have that version follow the tutorial.

Hope this helps.

[Edit]

I found a different solution with npgsql here.

I made it work with version 3.0.7 (all npgsql components!) which seems to be the latest version supporting the emf stuff.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.