Devart.Data.PostgreSql.EFCore 9.0.0.9

Prefix Reserved
dotnet add package Devart.Data.PostgreSql.EFCore --version 9.0.0.9
                    
NuGet\Install-Package Devart.Data.PostgreSql.EFCore -Version 9.0.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devart.Data.PostgreSql.EFCore" Version="9.0.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devart.Data.PostgreSql.EFCore" Version="9.0.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Devart.Data.PostgreSql.EFCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Devart.Data.PostgreSql.EFCore --version 9.0.0.9
                    
#r "nuget: Devart.Data.PostgreSql.EFCore, 9.0.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Devart.Data.PostgreSql.EFCore@9.0.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Devart.Data.PostgreSql.EFCore&version=9.0.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Devart.Data.PostgreSql.EFCore&version=9.0.0.9
                    
Install as a Cake Tool

dotConnect for PostgreSQL

dotConnect for PostgreSQL is a high-performance ORM enabled data provider for PostgreSQL that builds on ADO.NET technology.

The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework (EF) Core.

It supports a wide range of PostgreSQL-specific features, such as secure SSL and SSH connections, PostgreSQL notifications, PostgreSQL bulk data loading, GEOMETRY, PostgreSQL ARRAY types, and others.

More information at dotConnect for PostgreSQL.

Compatibility


The following table show which version of this package to use with which version of frameworks.

Frameworks Version support
Entity Framework Core 9
.NET 9, 8

More information here

Installation


For projects, using Entity Framework Core 9 with PostgreSQL, install this package. Execute the following command in the Package Manager Console:

Install-Package Devart.Data.PostgreSql.EFCore

For projects that require integration with Entity Framework 6.4 (EF6), use the Devart.Data.PostgreSql.EF6 package.

There also are Visual Studio extensions for earlier Visual Studio versions. If you use some other tool than Visual Studio, you can get NuGet packages with the nuget.exe console tool.

License

dotConnect for PostgreSQL is available in several editions. See pricing options for ordering.

The NuGet package initiates the retrieval of an activation key from the Devart website. This key is required to activate the product for a free trial.

Usage


This snippet directly configures a PostgreSQL database connection for an Entity Framework Core DbContext using a connection string.

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     optionsBuilder.UsePostgreSql(@"UserId=postgres;Password=postgres;Host=127.0.0.1;Port=5432;Database=test;Schema=pg_catalog;");
  } 
}

Configuration Using PostgreSqlConnection Instance

using Devart.Data.PostgreSql;
...

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     var connection = new PostgreSqlConnection();
     connection.Host = "127.0.0.1";
     connection.Port = 5432;
     connection.UserId = "postgres";
     connection.Password = "postgres";
     connection.Database = "test";
     connection.Schema = "pg_catalog";
     optionsBuilder.UsePostgreSql(connection);
  } 
}
ASP.NET Core and Blazor

Configuration File (appsettings.json):

{
  "ConnectionStrings": {
    "DefaultConnection": "UserId=postgres;Password=postgres;Host=127.0.0.1;Port=5432;Database=test;Schema=pg_catalog;"
   }
}

DbContext Configuration:

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

    IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile("appsettings.json");
    IConfiguration configuration = builder.Build();
    optionsBuilder.UsePostgreSql(configuration.GetConnectionString("DefaultConnection"));
  } 
}

For more information about secure connections using SSL or SSH connections read at out documentation.

Key Features

  • Easy Connection: Allows your .NET application to work with PostgreSQL data.
  • ASP.NET Core: Supports ASP.NET Core Identity.
  • Performance: Uses many PostgreSQL-specific performance features & optimizations to ensure the highest performance.
  • Monitoring: Allows per-component tracing of database events with a free dbMonitor application.
  • Security: Supports various encryption ciphers, SSL and SSH connections, etc.
  • Support and Updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

Support Area

More Resources

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Devart.Data.PostgreSql.EFCore:

Package Downloads
Devart.Data.PostgreSql.EFCore.Design

dotConnect for PostgreSQL is a high-performance ORM enabled data provider for PostgreSQL that builds on ADO.NET technology. The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. It supports a wide range of PostgreSQL-specific features, such as secure SSL and SSH connections, PostgreSQL notifications, PostgreSQL bulk data loading, GEOMETRY, PostgreSQL ARRAY types, and others.a More information at https://www.devart.com/dotconnect/postgresql/ License dotConnect for PostgreSQL is available in several editions https://www.devart.com/dotconnect/postgresql/ordering.html The NuGet package initiates a 30-day free trial automatically, so no additional action is required. Key Features * Easy Connection: Allows your application to work with PostgreSQL. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many PostgreSQL-specific performance features & optimizations to ensure the highest performance. * Monitoring: Allows per-component tracing of database events with a free dbMonitor application. * Security: Supports various encryption ciphers, SSL and SSH connections, etc. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

Devart.Data.PostgreSql.EFCore.NetTopologySuite

dotConnect for PostgreSQL is a high-performance ORM enabled data provider for PostgreSQL that builds on ADO.NET technology. The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. It supports a wide range of PostgreSQL-specific features, such as secure SSL and SSH connections, PostgreSQL notifications, PostgreSQL bulk data loading, GEOMETRY, PostgreSQL ARRAY types, and others.a More information at https://www.devart.com/dotconnect/postgresql/ License dotConnect for PostgreSQL is available in several editions https://www.devart.com/dotconnect/postgresql/ordering.html The NuGet package initiates the retrieval of an activation key from the Devart website. This key is required to activate the product for a free trial. Key Features * Easy Connection: Allows your application to work with PostgreSQL. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many PostgreSQL-specific performance features & optimizations to ensure the highest performance. * Monitoring: Allows per-component tracing of database events with a free dbMonitor application. * Security: Supports various encryption ciphers, SSL and SSH connections, etc. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.0.9 757 12/19/2025
9.0.0.8 401 12/19/2025
9.0.0.7 400 12/19/2025
9.0.0 422 12/19/2025
8.4.290.9 6,460 7/30/2025
8.4.290.8 1,165 7/30/2025
8.4.290.7 1,181 7/30/2025
8.4.290 1,327 7/30/2025
8.4.235.9 2,320 4/25/2025
8.4.235.8 1,227 4/25/2025
8.4.235.7 1,241 4/25/2025
8.4.235 1,393 4/25/2025
8.4.193.9 2,733 2/11/2025
8.4.193.8 1,475 2/11/2025
8.4.193.7 1,249 2/11/2025
8.4.193 1,885 2/11/2025
8.4.191.9 1,311 1/15/2025
8.4.191.8 1,424 1/15/2025
8.4.191.7 1,193 1/15/2025
8.4.191 1,478 1/15/2025
8.4.190.9 1,276 12/27/2024
8.4.190.8 1,422 12/27/2024
8.4.190.7 1,215 12/27/2024
8.4.190 1,294 12/27/2024
8.3.105.8 2,294 11/13/2024
8.3.105.7 1,222 11/13/2024
8.3.105 1,793 11/13/2024
8.3.104.8 1,482 11/8/2024
8.3.104.7 1,217 11/8/2024
8.3.104 1,287 11/8/2024
8.3.21.8 56,077 6/6/2024
8.3.21.7 1,232 6/6/2024
8.3.21 1,914 6/6/2024
8.3.20.8 3,617 5/30/2024
8.3.20.7 1,258 5/30/2024
8.3.20 1,336 5/30/2024
8.3.10.8 30,783 1/18/2024
8.3.10.7 1,254 1/18/2024
8.3.10 1,893 1/18/2024
8.2.0.7 2,660 11/17/2023
8.2.0 2,076 11/17/2023
8.1.151.7 6,949 6/7/2023
8.1.151 6,904 6/7/2023
8.1.134.7 2,605 3/4/2023
8.1.134 3,171 3/4/2023
8.0.0 34,286 7/1/2022
7.24.2066 21,768 1/26/2022
7.23.2042 4,120 12/21/2021
7.22.2014 26,985 11/9/2021
7.21.2001 3,430 10/21/2021
7.21.1985 3,297 9/28/2021
7.20.1944 4,741 7/30/2021
7.20.1930 2,790 7/8/2021
7.20.1905 3,027 6/3/2021
7.20.1866 5,896 4/9/2021
7.20.1860 2,710 4/1/2021
7.20.1836 3,313 2/18/2021
7.20.1812 14,315 1/14/2021
7.20.1792 3,265 12/17/2020
7.20.1782 3,000 12/3/2020
7.19.1759 45,996 10/29/2020
7.18.1739 5,547 10/1/2020
7.18.1730 4,688 9/17/2020
7.17.1696 6,823 7/30/2020
7.17.1686 4,126 7/16/2020
7.17.1666 4,235 6/17/2020
7.17.1612 20,527 4/2/2020
7.17.1583 9,646 2/20/2020
7.16.1541 13,252 12/23/2019
7.15.1519 6,417 11/21/2019
7.15.1504 3,337 10/31/2019
7.15.1499 3,577 10/24/2019
7.14.1470 7,075 9/13/2019
7.13.1437 4,036 7/25/2019
7.13.1422 3,146 7/4/2019
7.13.1402 4,383 6/6/2019
7.13.1366 3,519 4/12/2019
7.12.1357 3,198 3/28/2019
7.12.1328 3,138 2/14/2019
7.12.1307 8,689 1/10/2019
7.11.1278 3,261 11/29/2018
7.11.1253 3,403 10/25/2018
7.11.1229 4,328 9/20/2018
7.11.1216 3,256 8/31/2018
7.11.1202 4,676 8/10/2018
7.11.1190 3,505 7/19/2018
7.11.1172 3,740 6/22/2018
7.10.1152 3,830 5/25/2018
7.10.1134 11,234 4/27/2018
7.10.1115 3,976 3/30/2018
7.10.1086 3,807 2/15/2018
7.10.1061 3,696 1/11/2018
7.10.1031 3,382 11/23/2017
7.10.1013 15,759 10/30/2017
7.9.980 4,581 9/7/2017
7.9.946 3,348 7/14/2017
7.9.931 3,371 6/23/2017
7.9.912 3,580 5/25/2017