Devart.Data.PostgreSql.EF6 8.4.290

Prefix Reserved
dotnet add package Devart.Data.PostgreSql.EF6 --version 8.4.290
                    
NuGet\Install-Package Devart.Data.PostgreSql.EF6 -Version 8.4.290
                    
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.EF6" Version="8.4.290" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Devart.Data.PostgreSql.EF6" Version="8.4.290" />
                    
Directory.Packages.props
<PackageReference Include="Devart.Data.PostgreSql.EF6" />
                    
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.EF6 --version 8.4.290
                    
#r "nuget: Devart.Data.PostgreSql.EF6, 8.4.290"
                    
#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.EF6@8.4.290
                    
#: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.EF6&version=8.4.290
                    
Install as a Cake Addin
#tool nuget:?package=Devart.Data.PostgreSql.EF6&version=8.4.290
                    
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 8
.NET 9, 8

More information here

Installation


For projects, using Entity Framework Core 8 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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.4.290 149 7/30/2025
8.4.235 216 4/25/2025
8.4.193 254 2/11/2025
8.4.191 159 1/15/2025
8.4.190 185 12/27/2024
8.3.104 250 11/8/2024
8.3.21 247 6/6/2024
8.3.20 176 5/30/2024
8.3.10 1,201 1/18/2024
8.2.0 319 11/17/2023
8.1.151 1,111 6/7/2023
8.1.134 619 3/4/2023
8.0.0 5,425 7/1/2022
7.24.2066 1,090 1/26/2022
7.23.2042 407 12/21/2021
7.22.2014 7,775 11/9/2021
7.21.2001 486 10/21/2021
7.21.1985 445 9/28/2021
7.20.1944 551 7/30/2021
7.20.1930 1,087 7/8/2021
7.20.1905 484 6/3/2021
7.20.1866 1,099 4/9/2021
7.20.1860 678 4/1/2021
7.20.1836 556 2/18/2021
7.20.1812 714 1/14/2021
7.20.1792 667 12/17/2020
7.20.1782 636 12/3/2020
7.19.1759 978 10/29/2020
7.18.1739 558 10/1/2020
7.18.1730 701 9/17/2020
7.17.1696 670 7/30/2020
7.17.1686 628 7/16/2020
7.17.1666 628 6/17/2020
7.17.1612 805 4/2/2020
7.17.1583 769 2/20/2020
7.16.1541 1,893 12/23/2019
7.15.1519 1,175 11/21/2019
7.15.1504 776 10/31/2019
7.15.1499 920 10/24/2019
7.14.1470-preview 573 9/13/2019