talira

Npgsql Entity Framework Core provider

The open source Entity Framework Core provider for PostgreSQL

open sourcePostgreSQLfree

Npgsql.EntityFrameworkCore.PostgreSQL is the open source Entity Framework Core provider for PostgreSQL, built on the Npgsql ADO.NET driver. It works like any other EF Core provider, with LINQ queries and DbContext pooling, and adds PostgreSQL's own features: queries over JSON, array and range columns, among others. Separate plugin packages add PostGIS spatial types through NetTopologySuite and NodaTime date and time types.

Problems it solves

  • use Entity Framework Core with a Postgres database
  • query a Postgres jsonb column with LINQ from my ASP.NET app
  • move my EF Core app from SQL Server to PostgreSQL

Features

  • a standard EF Core provider: LINQ queries and DbContext pooling
  • queries over PostgreSQL JSON, array and range columns
  • PostGIS spatial types through a NetTopologySuite plugin
  • NodaTime date and time types through a plugin

Alternatives

The same job

These do what Npgsql Entity Framework Core provider does.

  1. Entity Framework Core A lightweight, extensible, open source and cross-platform version of Entity Framework

Compare Npgsql Entity Framework Core provider with the top 3