Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity framework PostgreSQL

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?

like image 539
Markus Avatar asked Jul 31 '09 09:07

Markus


People also ask

Can Entity Framework work with PostgreSQL?

Furthermore, Entity Framework's design makes it particularly friendly for PostgreSQL developers. Entity Framework (EFCore) Core is a lighter weight and more flexible version that specifically enables . NET objects. It reduces the amount of data access code developers need to write, and offers higher-performance APIs.

Does EF core support Postgres?

It supports a large number of database providers such as PostgreSQL, SQL Server, IBM Data Servers and more.


2 Answers

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

like image 107
ReinierDG Avatar answered Oct 02 '22 05:10

ReinierDG


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

like image 27
Shiraz Bhaiji Avatar answered Oct 02 '22 05:10

Shiraz Bhaiji