linq2db.PostgreSQL 4.2.0

Requires NuGet 3.3.0 or higher.

NuGet\Install-Package linq2db.PostgreSQL -Version 4.2.0
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.
dotnet add package linq2db.PostgreSQL --version 4.2.0
<PackageReference Include="linq2db.PostgreSQL" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add linq2db.PostgreSQL --version 4.2.0
#r "nuget: linq2db.PostgreSQL, 4.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install linq2db.PostgreSQL as a Cake Addin
#addin nuget:?package=linq2db.PostgreSQL&version=4.2.0

// Install linq2db.PostgreSQL as a Cake Tool
#tool nuget:?package=linq2db.PostgreSQL&version=4.2.0

LINQ to DB

License Follow @linq2db

Starting from version 4 we obsolete T4 nugets in favor of new command-line scaffolding tool: linq2db.cli. Consider migration as we don't plan to introduce new features and fixes to T4 functionality.

This nuget package contains database scaffolding T4 templates to generate POCO classes from your database.

You can read about T4 templates options here. Demonstration video could be found here.

Important

Don't use this package if you don't need database scaffolding functionality. Instead of this package, use:

  1. main linq2db package
  2. database provider nuget (see list of supported providers below)

Supported database providers

Obsoletion Note

T4 templates will be obsoleted in Linq To DB 4.0.0 and replaced with new scaffolding utility.

There are multiple reasons for it:

  • T4 templates doesn't work well outside of Visual Studio. MacOS/Linux users or users of alternate IDEs could face serious issues trying to use T4 templates.
  • T4 templates executed using .NET Framework by Visual Studio, which also creates issues for non-Windows users.
  • T4 host use x86 process for Visual Studio 2019- and x64 process for Visual Studio 2022+. This creates issues with native providers as they are platform-dependent (ODBC and OleDb providers, various native ADO.NET providers).
  • It's very hard to maintain big code generation framework, written in T4 templates.

Those are just several most major issues current T4 templates have.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on linq2db.PostgreSQL:

Package Downloads
Everest2.Db

~

GoldCloud.Infrastructure.LinqToDb

Package Description

LanguageExt.Effects.Database

This library adds Database effect to the LanguageExt library.

DotNetBrightener.Core.DataAccess.PostgreSQL

A library that adds the support for PostgreSQL to the centralized data access layer of DotNet Brightener Framework.

Netbits.Library.Common

Common classes for all Netbits products

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on linq2db.PostgreSQL:

Repository Stars
mikependon/RepoDB
A hybrid ORM library for .NET.
Version Downloads Last updated
4.2.0 1,002 9/1/2022
4.1.1 4,102 7/7/2022
4.1.0 4,846 6/16/2022
4.0.1 683 5/27/2022
4.0.0 1,217 5/19/2022
4.0.0-rc.2 80 5/15/2022
4.0.0-rc.1 102 4/29/2022
4.0.0-preview.10 1,344 11/15/2021
4.0.0-preview.9 119 11/11/2021
4.0.0-preview.8 459 10/22/2021
4.0.0-preview.7 172 10/14/2021
4.0.0-preview.6 189 10/2/2021
4.0.0-preview.5 198 9/10/2021
4.0.0-preview.4 311 8/13/2021
4.0.0-preview.3 184 7/9/2021
4.0.0-preview.2 163 7/1/2021
4.0.0-preview.1 162 6/9/2021
3.7.0 12,141 4/7/2022
3.6.0 32,014 11/15/2021
3.5.2 3,032 11/11/2021
3.5.1 1,847 10/22/2021
3.5.0 3,675 10/14/2021
3.4.5 1,164 10/2/2021
3.4.4 6,338 9/10/2021
3.4.3 5,512 8/13/2021
3.4.2 12,286 7/9/2021
3.4.1 959 7/1/2021
3.4.0 63,682 6/3/2021
3.3.0 12,637 3/25/2021
3.2.3 58,678 1/4/2021
3.2.2 778 12/26/2020
3.2.1 1,626 12/17/2020
3.2.0 603 12/17/2020
3.1.6 8,177 10/31/2020
3.1.5 2,957 10/15/2020
3.1.4 871 10/8/2020
3.1.3 2,776 9/17/2020
3.1.2 5,180 9/3/2020
3.1.1 1,185 8/27/2020
3.1.0 5,605 8/20/2020
3.0.1 10,334 7/13/2020
3.0.0 1,803 7/10/2020
3.0.0-rc.2 259 7/5/2020
3.0.0-rc.1 477 6/17/2020
3.0.0-rc.0 637 5/30/2020
3.0.0-preview.2 1,679 3/28/2020
3.0.0-preview.1 1,009 10/17/2019
2.9.8 41,044 4/16/2020
2.9.7 41,034 3/5/2020
2.9.6 77,326 1/30/2020
2.9.5 4,967 12/30/2019
2.9.4 55,055 11/12/2019
2.9.3 679 10/30/2019
2.9.2 20,649 10/17/2019
2.9.1 2,297 10/3/2019
2.9.0 6,405 8/8/2019
2.8.1 1,376 7/29/2019
2.8.0 671 7/25/2019
2.7.4 9,493 6/14/2019
2.7.3 500 6/13/2019
2.7.2 3,308 6/1/2019
2.7.1 1,610 5/23/2019
2.7.0 2,569 4/25/2019
2.6.4 30,043 2/2/2019
2.6.3 1,732 1/20/2019
2.6.2 7,169 1/3/2019
2.6.1 820 12/21/2018
2.6.0 6,682 12/14/2018
2.5.4 9,132 11/21/2018
2.5.3 5,177 11/20/2018
2.5.2 10,420 11/12/2018
2.5.1 4,694 11/5/2018
2.5.0 802 11/1/2018
2.4.0 2,782 10/4/2018
2.3.0 6,846 8/30/2018
2.2.0 11,682 7/26/2018
2.1.0 3,604 6/21/2018
2.0.0 2,847 5/17/2018
1.10.0 63,378 11/19/2017
1.9.0 2,237 8/30/2017
1.8.3 1,636 7/6/2017
1.8.2 2,637 6/6/2017
1.8.1 895 6/4/2017
1.8.0 1,282 5/18/2017
1.7.6 1,887 2/19/2017
1.7.5 989 2/7/2017
1.0.7.3 6,889 9/7/2015
1.0.7.2 1,317 8/13/2015
1.0.7 2,416 2/1/2015