npgsql-unstable - Npgsql 5.0.14-ci.20220524T105827+sha.4629af59b

Npgsql is the open source .NET data provider for PostgreSQL.

PM> Install-Package Npgsql -Version 5.0.14-ci.20220524T105827 -Source https://www.myget.org/F/npgsql-unstable/api/v3/index.json

Copy to clipboard

> nuget.exe install Npgsql -Version 5.0.14-ci.20220524T105827 -Source https://www.myget.org/F/npgsql-unstable/api/v3/index.json

Copy to clipboard

> dotnet add package Npgsql --version 5.0.14-ci.20220524T105827 --source https://www.myget.org/F/npgsql-unstable/api/v3/index.json

Copy to clipboard
<PackageReference Include="Npgsql" Version="5.0.14-ci.20220524T105827" />
Copy to clipboard
source https://www.myget.org/F/npgsql-unstable/api/v3/index.json

nuget Npgsql  ~> 5.0.14-ci.20220524T105827
Copy to clipboard

> choco install Npgsql --version 5.0.14-ci.20220524T105827 --source https://www.myget.org/F/npgsql-unstable/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql-unstable" -SourceLocation "https://www.myget.org/F/npgsql-unstable/api/v2"
Install-Module -Name "Npgsql" -RequiredVersion "5.0.14-ci.20220524T105827" -Repository "npgsql-unstable" -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-unstable/api/v2/symbolpackage/


Npgsql - the .NET data provider for PostgreSQL

stable next patch daily builds (vnext) build gitter

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.

  • .NETCoreApp 3.1
    • System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
  • .NETFramework 5.0
    • System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
  • .NETStandard 2.0
    • Microsoft.Bcl.AsyncInterfaces (>= 1.1.0)
    • System.Memory (>= 4.5.3)
    • System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
    • System.Text.Json (>= 4.6.0)
    • System.Threading.Channels (>= 4.7.0)
    • System.Threading.Tasks.Extensions (>= 4.5.3)
    • System.ValueTuple (>= 4.5.0)
  • .NETStandard 2.1
    • System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
    • System.Text.Json (>= 4.6.0)
    • System.Threading.Channels (>= 4.7.0)
  • .NETCoreApp 3.1: 3.1.0.0
  • .NETFramework 5.0: 5.0.0.0
  • .NETStandard 2.0: 2.0.0.0
  • .NETStandard 2.1: 2.1.0.0

Owners

Shay Rojansky

Authors

Shay Rojansky, Yoh Deadfall, Brar Piening, Nikita Kazmin, Austin Drenski, Emil Lenngren, Francisco Figueiredo Jr., Kenji Uno

Project URL

https://github.com/npgsql/npgsql

License

Unknown

Tags

npgsql postgresql postgres ado ado.net database sql

Info

4 total downloads
4 downloads for version 5.0.14-ci.20220524T105827+sha.4629af59b
Download (1.57 MB)
Download symbols (444.49 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
5.0.14-ci.20220524T105827+sha.4629af59b 1.57 MB Tue, 24 May 2022 10:58:59 GMT 4
5.0.14-ci.20220524T104752+sha.d094b9a1e 1.57 MB Tue, 24 May 2022 10:48:20 GMT 0