npgsql - Npgsql 8.0.6-ci.20241013T182644+sha.b97701212
Npgsql is the open source .NET data provider for PostgreSQL.
PM> Install-Package Npgsql -Version 8.0.6-ci.20241013T182644 -Source https://www.myget.org/F/npgsql/api/v3/index.json
> nuget.exe install Npgsql -Version 8.0.6-ci.20241013T182644 -Source https://www.myget.org/F/npgsql/api/v3/index.json
> dotnet add package Npgsql --version 8.0.6-ci.20241013T182644 --source https://www.myget.org/F/npgsql/api/v3/index.json
source https://www.myget.org/F/npgsql/api/v3/index.json
nuget Npgsql ~> 8.0.6-ci.20241013T182644
Copy to clipboard
> choco install Npgsql --version 8.0.6-ci.20241013T182644 --source https://www.myget.org/F/npgsql/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql" -SourceLocation "https://www.myget.org/F/npgsql/api/v2"
Install-Module -Name "Npgsql" -RequiredVersion "8.0.6-ci.20241013T182644" -Repository "npgsql" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/npgsql/api/v2/symbolpackage/
Npgsql - the .NET data provider for PostgreSQL
What is Npgsql?
Npgsql is the open source .NET data provider for PostgreSQL. It allows you to connect and interact with PostgreSQL server using .NET.
For the full documentation, please visit the Npgsql website. For the Entity Framework Core provider that works with this provider, see Npgsql.EntityFrameworkCore.PostgreSQL.
Quickstart
Here's a basic code snippet to get you started:
using Npgsql;
var connString = "Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase";
var dataSourceBuilder = new NpgsqlDataSourceBuilder(connString);
var dataSource = dataSourceBuilder.Build();
var conn = await dataSource.OpenConnectionAsync();
// Insert some data
await using (var cmd = new NpgsqlCommand("INSERT INTO data (some_field) VALUES (@p)", conn))
{
cmd.Parameters.AddWithValue("p", "Hello world");
await cmd.ExecuteNonQueryAsync();
}
// Retrieve all rows
await using (var cmd = new NpgsqlCommand("SELECT some_field FROM data", conn))
await using (var reader = await cmd.ExecuteReaderAsync())
{
while (await reader.ReadAsync())
Console.WriteLine(reader.GetString(0));
}
Key features
- High-performance PostgreSQL driver. Regularly figures in the top contenders on the TechEmpower Web Framework Benchmarks.
- Full support of most PostgreSQL types, including advanced ones such as arrays, enums, ranges, multiranges, composites, JSON, PostGIS and others.
- Highly-efficient bulk import/export API.
- Failover, load balancing and general multi-host support.
- Great integration with Entity Framework Core via Npgsql.EntityFrameworkCore.PostgreSQL.
For the full documentation, please visit the Npgsql website at https://www.npgsql.org.
-
.NETFramework 6.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 7.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
-
.NETFramework 8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
-
.NETStandard 2.0
- Microsoft.Bcl.HashCode (>= 1.1.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Channels (>= 8.0.0)
-
.NETStandard 2.1
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Diagnostics.DiagnosticSource (>= 8.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Text.Json (>= 8.0.5)
- System.Threading.Channels (>= 8.0.0)
- .NETFramework 6.0: 6.0.0.0
- .NETFramework 7.0: 7.0.0.0
- .NETFramework 8.0: 8.0.0.0
- .NETStandard 2.0: 2.0.0.0
- .NETStandard 2.1: 2.1.0.0
OwnersShay Rojansky |
AuthorsShay Rojansky, Nikita Kazmin, Brar Piening, Nino Floris, Yoh Deadfall, Austin Drenski, Emil Lenngren, Francisco Figueiredo Jr., Kenji Uno |
Project URLhttps://github.com/npgsql/npgsql |
LicenseMIT |
Tagsnpgsql postgresql postgres ado ado.net database sql |
Info388 total downloads |
6 downloads for version 8.0.6-ci.20241013T182644+sha.b97701212 |
Download (2.71 MB) |
Download symbols (853.16 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
9.0.2-ci.20241120T173808+sha.47ee78b7b | 1.14 MB | Wed, 20 Nov 2024 17:38:50 GMT | 1 | ||||
9.0.2-ci.20241119T111622+sha.562ca36a7 | 1.14 MB | Tue, 19 Nov 2024 11:17:01 GMT | 1 | ||||
9.0.1-ci.20241119T110536+sha.7fa93656c | 1.14 MB | Tue, 19 Nov 2024 11:06:14 GMT | 0 | ||||
9.0.1-ci.20241118T150756+sha.50300f572 | 1.14 MB | Mon, 18 Nov 2024 15:08:34 GMT | 0 | ||||
8.0.6-ci.20241118T164842+sha.c4c9d0d53 | 2.71 MB | Mon, 18 Nov 2024 16:49:45 GMT | 1 | ||||
8.0.6-ci.20241108T212426+sha.82c6926bb | 2.71 MB | Fri, 08 Nov 2024 21:25:24 GMT | 2 | ||||
8.0.6-ci.20241021T103933+sha.882eab961 | 2.71 MB | Mon, 21 Oct 2024 10:40:29 GMT | 6 | ||||
8.0.6-ci.20241013T182644+sha.b97701212 | 2.71 MB | Sun, 13 Oct 2024 18:27:41 GMT | 6 | ||||
8.0.5-ci.20241013T044233+sha.2e914cc92 | 2.71 MB | Sun, 13 Oct 2024 04:43:29 GMT | 5 | ||||
8.0.5-ci.20241013T042235+sha.8a19263d9 | 2.71 MB | Sun, 13 Oct 2024 04:23:39 GMT | 5 | ||||
8.0.5-ci.20241012T172932+sha.c4a23ccbe | 2.71 MB | Sat, 12 Oct 2024 17:30:29 GMT | 5 | ||||
8.0.5-ci.20241008T121824+sha.1186b888a | 2.71 MB | Tue, 08 Oct 2024 12:19:18 GMT | 6 | ||||
8.0.5-ci.20241007T191852+sha.b1ee09e65 | 2.71 MB | Mon, 07 Oct 2024 19:19:53 GMT | 4 | ||||
8.0.5-ci.20240925T143552+sha.864b9991e | 2.71 MB | Wed, 25 Sep 2024 14:36:59 GMT | 9 | ||||
8.0.5-ci.20240925T101629+sha.ae4524557 | 2.71 MB | Wed, 25 Sep 2024 10:17:28 GMT | 7 | ||||
8.0.5-ci.20240910T154305+sha.bc433c684 | 2.71 MB | Tue, 10 Sep 2024 15:44:01 GMT | 11 | ||||
8.0.4-ci.20240910T153844+sha.6990cceff | 2.71 MB | Tue, 10 Sep 2024 15:39:46 GMT | 5 | ||||
8.0.4-ci.20240910T141533+sha.6990cceff | 2.71 MB | Tue, 10 Sep 2024 14:16:34 GMT | 6 | ||||
8.0.4-ci.20240905T111041+sha.5239d9111 | 2.71 MB | Thu, 05 Sep 2024 11:11:44 GMT | 6 | ||||
8.0.4-ci.20240904T175501+sha.a220780c5 | 2.71 MB | Wed, 04 Sep 2024 17:56:04 GMT | 6 | ||||
8.0.4-ci.20240904T153117+sha.d03c487b1 | 2.71 MB | Wed, 04 Sep 2024 15:32:17 GMT | 5 | ||||
8.0.4-ci.20240904T151111+sha.2cca021cc | 2.71 MB | Wed, 04 Sep 2024 15:12:21 GMT | 6 | ||||
8.0.4-ci.20240704T151850+sha.5fa21c742 | 2.71 MB | Thu, 04 Jul 2024 15:19:52 GMT | 13 | ||||
8.0.4-ci.20240702T151858+sha.b9c4c759b | 2.71 MB | Tue, 02 Jul 2024 15:19:56 GMT | 10 | ||||
8.0.4-ci.20240702T142942+sha.1f18d978c | 2.71 MB | Tue, 02 Jul 2024 14:30:58 GMT | 10 | ||||
8.0.4-ci.20240629T092721+sha.d3d8a8575 | 2.71 MB | Sat, 29 Jun 2024 09:28:17 GMT | 9 | ||||
8.0.4-ci.20240628T135754+sha.ff5d1469d | 2.71 MB | Fri, 28 Jun 2024 13:59:09 GMT | 10 | ||||
8.0.4-ci.20240628T134437+sha.a85371d57 | 2.71 MB | Fri, 28 Jun 2024 13:45:44 GMT | 8 | ||||
8.0.4-ci.20240624T233515+sha.bd5e3d30b | 2.71 MB | Mon, 24 Jun 2024 23:36:16 GMT | 10 | ||||
8.0.4-ci.20240619T165008+sha.3911f9a56 | 2.71 MB | Wed, 19 Jun 2024 16:51:13 GMT | 9 | ||||
8.0.4-ci.20240518T192124+sha.b72749d1f | 2.71 MB | Sat, 18 May 2024 19:22:19 GMT | 11 | ||||
8.0.4-ci.20240509T134916+sha.86b9938c8 | 2.71 MB | Thu, 09 May 2024 13:50:11 GMT | 10 | ||||
8.0.3-ci.20240509T131702+sha.c5aab163a | 2.71 MB | Thu, 09 May 2024 13:18:00 GMT | 9 | ||||
8.0.3-ci.20240421T234129+sha.be50041cb | 2.7 MB | Sun, 21 Apr 2024 23:42:28 GMT | 13 | ||||
8.0.3-ci.20240421T223426+sha.5fd00ddca | 2.7 MB | Sun, 21 Apr 2024 22:35:29 GMT | 11 | ||||
8.0.3-ci.20240421T220338+sha.58b9a1be0 | 2.7 MB | Sun, 21 Apr 2024 22:06:17 GMT | 10 | ||||
8.0.3-ci.20240412T182539+sha.4e5fb5a05 | 2.7 MB | Fri, 12 Apr 2024 18:26:48 GMT | 10 | ||||
8.0.3-ci.20240328T191045+sha.6927b98c4 | 2.7 MB | Thu, 28 Mar 2024 19:11:58 GMT | 10 | ||||
8.0.3-ci.20240325T161904+sha.cf5e8cb65 | 2.71 MB | Mon, 25 Mar 2024 16:20:32 GMT | 10 | ||||
8.0.3-ci.20240316T173540+sha.67ef2842e | 2.71 MB | Sat, 16 Mar 2024 17:36:48 GMT | 11 | ||||
8.0.3-ci.20240315T105509+sha.ce51c276b | 2.71 MB | Fri, 15 Mar 2024 10:59:37 GMT | 10 | ||||
8.0.3-ci.20240311T204442+sha.6201e1b78 | 2.71 MB | Mon, 11 Mar 2024 20:45:47 GMT | 10 | ||||
8.0.3-ci.20240311T171620+sha.d9df7f1ce | 2.7 MB | Mon, 11 Mar 2024 17:19:01 GMT | 10 | ||||
8.0.3-ci.20240310T201739+sha.c484af7a2 | 2.7 MB | Sun, 10 Mar 2024 20:18:46 GMT | 10 | ||||
8.0.3-ci.20240226T183413+sha.d5779bb0f | 2.7 MB | Mon, 26 Feb 2024 18:35:18 GMT | 12 | ||||
8.0.3-ci.20240215T001021+sha.e618d9aa5 | 2.7 MB | Thu, 15 Feb 2024 00:11:31 GMT | 9 | ||||
8.0.2-ci.20240209T183722+sha.9e4ff8ce7 | 2.7 MB | Fri, 09 Feb 2024 18:38:28 GMT | 10 | ||||
8.0.2-ci.20240207T173837+sha.26e205a5b | 2.7 MB | Wed, 07 Feb 2024 17:39:40 GMT | 10 | ||||
8.0.2-ci.20240131T223425+sha.1f6451b15 | 2.7 MB | Wed, 31 Jan 2024 22:35:28 GMT | 10 | ||||
8.0.2-ci.20240125T140329+sha.37cd9c63a | 2.7 MB | Thu, 25 Jan 2024 14:04:41 GMT | 10 |