75

Can someone tell me how can I get MS Entity Framework working with PostgreSQL.

Also: How does Entity Framewok work with Mono? Could you please suggest other similar ORM tools which would run on Mono and what is your opinion about them?

1

2 Answers 2

57

Entity framework also works with Npgsql - .Net Data Provider for Postgresql. A tutorial on how to set it up can be found here: http://www.npgsql.org/ef6/index.html

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

2 Comments

Github page github.com/npgsql/npgsql (the above url is currently unreachable for me)
The Npgsql Entity Framework Core provider for PostgreSQL is now hosted in a separate GitHub repo (as is the EF5/6 Npgsql provider). There is also a EF Core Getting Started page on npgsql.org with documentation.
11

Devart has a product that gives entity framework support for PostgreSQL. See:

http://www.devart.com/dotconnect/postgresql/

There is a provider for mono for postgreSQL. See:

http://www.mono-project.com/PostgreSQL

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.