74
votes

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?

2

2 Answers

56
votes

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

11
votes

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