Devart.Data.PostgreSql.EFCore 8.4.235.9

Prefix Reserved
dotnet add package Devart.Data.PostgreSql.EFCore --version 8.4.235.9
                    
NuGet\Install-Package Devart.Data.PostgreSql.EFCore -Version 8.4.235.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="8.4.235.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="8.4.235.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 8.4.235.9
                    
#r "nuget: Devart.Data.PostgreSql.EFCore, 8.4.235.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.
#addin nuget:?package=Devart.Data.PostgreSql.EFCore&version=8.4.235.9
                    
Install Devart.Data.PostgreSql.EFCore as a Cake Addin
#tool nuget:?package=Devart.Data.PostgreSql.EFCore&version=8.4.235.9
                    
Install Devart.Data.PostgreSql.EFCore 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 a 30-day free trial automatically, so no additional action is required.

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 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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.4.235.9 493 4/25/2025
8.4.235.8 140 4/25/2025
8.4.235.7 135 4/25/2025
8.4.235 222 4/25/2025
8.4.193.9 1,291 2/11/2025
8.4.193.8 277 2/11/2025
8.4.193.7 137 2/11/2025
8.4.193 758 2/11/2025
8.4.191.9 195 1/15/2025
8.4.191.8 345 1/15/2025
8.4.191.7 103 1/15/2025
8.4.191 360 1/15/2025
8.4.190.9 175 12/27/2024
8.4.190.8 324 12/27/2024
8.4.190.7 134 12/27/2024
8.4.190 174 12/27/2024
8.3.105.8 950 11/13/2024
8.3.105.7 123 11/13/2024
8.3.105 663 11/13/2024
8.3.104.8 231 11/8/2024
8.3.104.7 123 11/8/2024
8.3.104 176 11/8/2024
8.3.21.8 27,818 6/6/2024
8.3.21.7 160 6/6/2024
8.3.21 780 6/6/2024
8.3.20.8 2,541 5/30/2024
8.3.20.7 162 5/30/2024
8.3.20 205 5/30/2024
8.3.10.8 15,968 1/18/2024
8.3.10.7 177 1/18/2024
8.3.10 545 1/18/2024
8.2.0.7 1,576 11/17/2023
8.2.0 945 11/17/2023
8.1.151.7 5,714 6/7/2023
8.1.151 5,718 6/7/2023
8.1.134.7 1,297 3/4/2023
8.1.134 1,994 3/4/2023
8.0.0 31,270 7/1/2022
7.24.2066 20,030 1/26/2022
7.23.2042 2,915 12/21/2021
7.22.2014 25,603 11/9/2021
7.21.2001 2,272 10/21/2021
7.21.1985 2,147 9/28/2021
7.20.1944 3,572 7/30/2021
7.20.1930 1,638 7/8/2021
7.20.1905 1,860 6/3/2021
7.20.1866 4,739 4/9/2021
7.20.1860 1,553 4/1/2021
7.20.1836 2,175 2/18/2021
7.20.1812 13,144 1/14/2021
7.20.1792 2,122 12/17/2020
7.20.1782 1,834 12/3/2020
7.19.1759 43,434 10/29/2020
7.18.1739 4,380 10/1/2020
7.18.1730 3,487 9/17/2020
7.17.1696 5,661 7/30/2020
7.17.1686 2,931 7/16/2020
7.17.1666 3,037 6/17/2020
7.17.1612 18,966 4/2/2020
7.17.1583 8,484 2/20/2020
7.16.1541 11,913 12/23/2019
7.15.1519 5,266 11/21/2019
7.15.1504 2,188 10/31/2019
7.15.1499 2,402 10/24/2019
7.14.1470 5,912 9/13/2019
7.13.1437 2,847 7/25/2019
7.13.1422 2,014 7/4/2019
7.13.1402 3,207 6/6/2019
7.13.1366 2,381 4/12/2019
7.12.1357 2,031 3/28/2019
7.12.1328 2,001 2/14/2019
7.12.1307 7,521 1/10/2019
7.11.1278 2,118 11/29/2018
7.11.1253 2,255 10/25/2018
7.11.1229 3,146 9/20/2018
7.11.1216 2,075 8/31/2018
7.11.1202 3,496 8/10/2018
7.11.1190 2,185 7/19/2018
7.11.1172 2,413 6/22/2018
7.10.1152 2,522 5/25/2018
7.10.1134 8,895 4/27/2018
7.10.1115 2,558 3/30/2018
7.10.1086 2,450 2/15/2018
7.10.1061 2,385 1/11/2018
7.10.1031 2,164 11/23/2017
7.10.1013 13,241 10/30/2017
7.9.980 3,221 9/7/2017
7.9.946 2,115 7/14/2017
7.9.931 2,072 6/23/2017
7.9.912 2,303 5/25/2017