linq2db.DB2 4.0.0-rc.2

Prefix Reserved
This is a prerelease version of linq2db.DB2.
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 --version 4.0.0-rc.2                
NuGet\Install-Package linq2db.DB2 -Version 4.0.0-rc.2                
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" Version="4.0.0-rc.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add linq2db.DB2 --version 4.0.0-rc.2                
#r "nuget: linq2db.DB2, 4.0.0-rc.2"                
#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 as a Cake Addin
#addin nuget:?package=linq2db.DB2&version=4.0.0-rc.2&prerelease

// Install linq2db.DB2 as a Cake Tool
#tool nuget:?package=linq2db.DB2&version=4.0.0-rc.2&prerelease                

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

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 63 6/17/2024
5.4.1 332 4/7/2024
5.4.0 967 2/20/2024
5.3.2 3,477 10/18/2023
5.3.1 258 10/16/2023
5.3.0 343 10/12/2023
5.2.2 286 6/8/2023
5.2.1 216 5/18/2023
5.2.0 209 5/4/2023
5.1.1 342 3/25/2023
5.1.0 249 3/16/2023
5.0.0 339 2/23/2023
5.0.0-rc.2 111 2/16/2023
5.0.0-rc.1 106 2/9/2023
5.0.0-preview.2 118 2/2/2023
5.0.0-preview.1 143 1/12/2023
4.4.1 388 2/2/2023
4.4.0 379 12/15/2022
4.3.0 974 10/1/2022
4.2.0 665 9/1/2022
4.1.1 862 7/7/2022
4.1.0 644 6/16/2022
4.0.1 582 5/27/2022
4.0.0 514 5/19/2022
4.0.0-rc.2 141 5/15/2022
4.0.0-rc.1 136 4/29/2022
4.0.0-preview.10 197 11/15/2021
4.0.0-preview.9 169 11/11/2021
4.0.0-preview.8 220 10/22/2021
4.0.0-preview.7 210 10/14/2021
4.0.0-preview.6 254 10/2/2021
4.0.0-preview.5 224 9/10/2021
4.0.0-preview.4 346 8/13/2021
4.0.0-preview.3 228 7/9/2021
4.0.0-preview.2 195 7/1/2021
4.0.0-preview.1 184 6/9/2021
3.7.0 572 4/7/2022
3.6.0 551 11/15/2021
3.5.2 433 11/11/2021
3.5.1 510 10/22/2021
3.5.0 427 10/14/2021
3.4.5 604 10/2/2021
3.4.4 498 9/10/2021
3.4.3 822 8/13/2021
3.4.2 1,261 7/9/2021
3.4.1 620 7/1/2021
3.4.0 846 6/3/2021
3.3.0 556 3/25/2021
3.2.3 600 1/4/2021
3.2.2 590 12/26/2020
3.2.1 638 12/17/2020
3.2.0 571 12/17/2020
3.1.6 621 10/31/2020
3.1.5 568 10/15/2020
3.1.4 552 10/8/2020
3.1.3 623 9/17/2020
3.1.2 647 9/3/2020
3.1.1 637 8/27/2020
3.1.0 583 8/20/2020
3.0.1 662 7/13/2020
3.0.0 604 7/10/2020
3.0.0-rc.2 275 7/5/2020
3.0.0-rc.1 279 6/17/2020
3.0.0-rc.0 330 5/30/2020
3.0.0-preview.2 304 3/28/2020
3.0.0-preview.1 327 10/17/2019
2.9.8 696 4/16/2020
2.9.7 662 3/5/2020
2.9.6 1,818 1/30/2020
2.9.5 839 12/30/2019
2.9.4 727 11/12/2019
2.9.3 778 10/30/2019
2.9.2 722 10/17/2019
2.9.1 698 10/3/2019
2.9.0 770 8/8/2019
2.8.1 727 7/29/2019
2.8.0 666 7/25/2019
2.7.4 743 6/14/2019
2.7.3 714 6/13/2019
2.7.2 767 6/1/2019
2.7.1 739 5/23/2019
2.7.0 726 4/25/2019
2.6.4 919 2/2/2019
2.6.3 854 1/20/2019
2.6.2 787 1/3/2019
2.6.1 819 12/21/2018
2.6.0 929 12/14/2018
2.5.4 1,101 11/21/2018
2.5.3 1,059 11/20/2018
2.5.2 1,035 11/12/2018
2.5.1 1,028 11/5/2018
2.5.0 1,029 11/1/2018
2.4.0 1,084 10/4/2018
2.3.0 1,034 8/30/2018
2.2.0 1,009 7/26/2018
2.1.0 1,085 6/21/2018
2.0.0 1,160 5/17/2018
2.0.0-rc2 776 5/10/2018
2.0.0-rc0 783 5/10/2018
2.0.0-beta5 787 5/6/2018
2.0.0-beta4 861 2/9/2018
2.0.0-beta3 826 2/6/2018
2.0.0-beta2 826 2/3/2018
2.0.0-beta1 882 2/2/2018
1.10.0 1,313 11/19/2017
1.9.0 1,200 8/30/2017
1.8.3 1,152 7/6/2017
1.8.2 1,181 6/6/2017
1.8.1 1,147 6/4/2017
1.8.0 1,173 5/18/2017
1.7.6 1,159 2/19/2017
1.7.5 1,100 2/7/2017
1.0.7.3 1,882 9/7/2015
1.0.7.2 1,295 8/13/2015
1.0.7 1,463 2/1/2015