linq2db.DB2.Core 5.4.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.3.0 or higher.

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

// Install linq2db.DB2.Core as a Cake Tool
#tool nuget:?package=linq2db.DB2.Core&version=5.4.0                

LINQ to DB

License

Also check command-line scaffolding tool: linq2db.cli.

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 obsoleted starting from Linq To DB 4.0.0 and replaced with new scaffolding utility. We still release newer versions of templates to maintain compatibility with new LinqToDB releases but don't actively develop new features for them.

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.

These are the most significant issues with T4 templates.

There are no supported framework assets in this 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
6.0.0-preview.1 74 6/17/2024
5.4.1 302 4/7/2024
5.4.0 943 2/20/2024
5.3.2 3,342 10/18/2023
5.3.1 263 10/16/2023
5.3.0 380 10/12/2023
5.2.2 210 6/8/2023
5.2.1 160 5/18/2023
5.2.0 172 5/4/2023
5.1.1 253 3/25/2023
5.1.0 227 3/16/2023
5.0.0 296 2/23/2023
5.0.0-rc.2 93 2/16/2023
5.0.0-rc.1 105 2/9/2023
5.0.0-preview.2 111 2/2/2023
5.0.0-preview.1 136 1/12/2023
4.4.1 317 2/2/2023
4.4.0 334 12/15/2022
4.3.0 908 10/1/2022
4.2.0 590 9/1/2022
4.1.1 759 7/7/2022
4.1.0 585 6/16/2022
4.0.1 523 5/27/2022
4.0.0 428 5/19/2022
4.0.0-rc.2 128 5/15/2022
4.0.0-rc.1 128 4/29/2022
4.0.0-preview.10 167 11/15/2021
4.0.0-preview.9 159 11/11/2021
4.0.0-preview.8 192 10/22/2021
4.0.0-preview.7 203 10/14/2021
4.0.0-preview.6 221 10/2/2021
4.0.0-preview.5 216 9/10/2021
4.0.0-preview.4 317 8/13/2021
4.0.0-preview.3 204 7/9/2021
4.0.0-preview.2 182 7/1/2021
4.0.0-preview.1 163 6/9/2021
3.7.0 467 4/7/2022
3.6.0 364 11/15/2021
3.5.2 316 11/11/2021
3.5.1 381 10/22/2021
3.5.0 354 10/14/2021
3.4.5 449 10/2/2021
3.4.4 407 9/10/2021
3.4.3 685 8/13/2021
3.4.2 1,179 7/9/2021
3.4.1 513 7/1/2021
3.4.0 735 6/3/2021
3.3.0 413 3/25/2021
3.2.3 456 1/4/2021
3.2.2 416 12/26/2020
3.2.1 485 12/17/2020
3.2.0 440 12/17/2020
3.1.6 504 10/31/2020
3.1.5 459 10/15/2020
3.1.4 458 10/8/2020
3.1.3 504 9/17/2020
3.1.2 509 9/3/2020
3.1.1 487 8/27/2020
3.1.0 508 8/20/2020
3.0.1 536 7/13/2020
3.0.0 486 7/10/2020
3.0.0-rc.2 261 7/5/2020
3.0.0-rc.1 271 6/17/2020
3.0.0-rc.0 324 5/30/2020
3.0.0-preview.2 289 3/28/2020
3.0.0-preview.1 303 10/17/2019