Npgsql EF Core Database Provider for PostgreSQL

This database provider allows Entity Framework Core to be used with PostgreSQL. The provider is maintained as part of the Npgsql project.


This provider is not maintained as part of the Entity Framework Core project. When considering a third party provider, be sure to evaluate quality, licensing, support, etc. to ensure they meet your requirements.


Install the Npgsql.EntityFrameworkCore.PostgreSQL NuGet package.

Install-Package Npgsql.EntityFrameworkCore.PostgreSQL

Get Started

See the Npgsql documentation to get started.

Supported Database Engines

  • PostgreSQL

Supported Platforms

  • .NET Framework (4.5.1 onwards)

  • .NET Core

  • Mono (4.2.0 onwards)