views:

2112

answers:

3

Hi. Can someone tell me how can I get MS Entity Framework working with PostgreSQL. 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?

+3  A: 

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

http://www.devart.com/news/2008/directs475.html

There is a provider for mono for postgreSQL. See:

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

Not sure if any .net ORM supports PostgreSQL on Mono.

The Telerik ORM does not, but they say that they will consider it if they get enough requests.

Shiraz Bhaiji
nHibernate has good support for PostgreSQL.
nos
+5  A: 

Entity framework also works with Npgsql - .Net Data Provider for Postgresql. A tutorial on how to set it up can be found here: http://npgsql.com/index.php/2009/08/how-to-set-up-entity-framework-npgsql-part-1/

CSmooth.net
A: 

Entity Framework doesn't work with Mono. However, there is DbLinq (google code) for Mono 2.6.

GMz