Symbol.Data.PostgreSQL 4.2.0.27

dotnet add package Symbol.Data.PostgreSQL --version 4.2.0.27                
NuGet\Install-Package Symbol.Data.PostgreSQL -Version 4.2.0.27                
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="Symbol.Data.PostgreSQL" Version="4.2.0.27" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Symbol.Data.PostgreSQL --version 4.2.0.27                
#r "nuget: Symbol.Data.PostgreSQL, 4.2.0.27"                
#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.
// Install Symbol.Data.PostgreSQL as a Cake Addin
#addin nuget:?package=Symbol.Data.PostgreSQL&version=4.2.0.27

// Install Symbol.Data.PostgreSQL as a Cake Tool
#tool nuget:?package=Symbol.Data.PostgreSQL&version=4.2.0.27                

程序集 使用说明

Symbol.Data.PostgreSQL.dll Available on NuGet https://www.nuget.org/packages/Symbol.Data.PostgreSQL/

运行时支持:

  • .net framework 2.0
  • .net framework 3.5
  • .net framework 4.0
  • .net framework 4.5
  • .net framework 4.6
  • .net framework 4.6.1
  • .net framework 4.7
  • .net framework 4.8
  • .net standard 2.0
  • .net core app 3.1
  • .net 5.0
  • .net 6.0
  • .net 7.0
  • .net 8.0

创建IDataContext 更多使用说明

//连接参数,可以是json字符串、匿名对象、IDictionary<string, object>
//省去一些记不住的连接参数,只需要设置关键的参数即可
var connectionOptions = new {
    host = "localhost",        //服务器
    port = 5432,               //端口为默认时,可以不用写
    name = "test",             //数据库名称
    account = "test",          //登录账号
    password = "test",         //登录密码
};

//db 类型:Symbol.Data.IDataContext
var db = Symbol.Data.Provider.CreateDataContext("pgsql", connectionOptions);

//也可以这样构建
//var db = return new Symbol.Data.PostgreSQLProvider().CreateDataContext(connectionOptions);

各个运行时引用说明

  • .net framework 2.0

Npgsql v2.2.7

  • .net framework 3.5

Npgsql v2.2.7

  • .net framework 4.0

Npgsql v2.2.7

  • .net framework 4.5~4.8

Npgsql v4.1.14

  • .net standard 2.0

Npgsql v5.0.18

  • .net core app 3.1

Npgsql v5.0.18

  • .net 5.0

Npgsql v5.0.18

  • .net 6.0

Npgsql v6.0.4.816

  • .net 7.0

Npgsql v6.0.12

  • .net 8.0

Npgsql v8.0.4

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 is compatible.  net46 is compatible.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 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
4.2.0.27 109 9/20/2024
4.2.0.25 103 9/18/2024
4.2.0.24 119 6/17/2024
4.2.0.23 134 6/17/2024 4.2.0.23 is deprecated because it has critical bugs.
4.2.0.22 134 4/5/2024
4.2.0.21 687 4/14/2023
4.2.0.20 670 4/14/2023
4.2.0.19 637 4/13/2023
4.2.0.18 697 4/13/2023
4.1.0.17 927 9/26/2022
4.1.0.16 913 4/13/2022
4.1.0.15 901 3/13/2022
4.1.0.13 1,089 5/8/2020
4.1.0.12 991 12/3/2019
4.1.0.9 1,079 8/1/2019
4.1.0.8 999 7/8/2019
4.1.0.6 1,034 7/5/2019
4.1.0.5 996 7/5/2019
4.1.0.4 1,055 6/25/2019
4.1.0.3 1,033 6/23/2019
4.1.0.2 1,015 6/20/2019
4.1.0.1 1,016 6/16/2019

Please see https://github.com/symbolspace/Symbol.Data/wiki/Home for more information.