views:

99

answers:

3

I'm interested to find out which ORM has best support for Postgres SQL database? Does any mapper have, both, LINQ support and ability to generate model from database?

A: 

DbLinq

Veer
Any expirience? Performance, LINQ support...
Marko
`LINQ support and ability to generate model from database`... Yes it does!!!
Veer
+1  A: 

I would say NHibernate is your friend here.

Preet Sangha
How to generate NHibernate model from Postgres database?
Marko
Does http://sourceforge.net/projects/mygeneration/files/ help?
Preet Sangha
You shouldn't be generating a model from your database anyway. Your object model should reflect the behavior of your system - not the data, which is what a relational database structure is optimized for.
Keith Rousseau
+1 NHib is be great, and you should think in terms of the making the technology fit your application. Not the other way around. There is a linq provider for NHib; also Fluent NHibernate makes setting up NH easier.http://fluentnhibernate.org/
joshc
+2  A: 

I haven't compared it against DbLinq but LlbgenPro supports Postgres and is very strong. It supports both Linq and generating the model from the database. In it's just released v3.0 it can generate projects not just for the LlblGen runtime but also for NHibernate, Entity Framework and LinqToSql.

It should be in your list to evaluate.

automatic
Agreed. We have used both LLBLGenPro and NHibernate to access PostgreSQL databases with much success.
Jess