linq2db.t4models 6.0.0-preview.2

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

Requires NuGet 3.3.0 or higher.

dotnet add package linq2db.t4models --version 6.0.0-preview.2
                    
NuGet\Install-Package linq2db.t4models -Version 6.0.0-preview.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.t4models" Version="6.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="linq2db.t4models" Version="6.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="linq2db.t4models" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add linq2db.t4models --version 6.0.0-preview.2
                    
#r "nuget: linq2db.t4models, 6.0.0-preview.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.
#:package linq2db.t4models@6.0.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=linq2db.t4models&version=6.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=linq2db.t4models&version=6.0.0-preview.2&prerelease
                    
Install as a Cake Tool

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

This package includes only scaffolding functionality. Additionally you will need to reference:

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

Supported database providers

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on linq2db.t4models:

Package Downloads
Hardcore.Megalog

Provides extended logging into local db

GitHub repositories (1)

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

Repository Stars
ClosedXML/ClosedXML.Report
ClosedXML.Report is a tool for report generation with which you can easily export any data from your .NET classes to Excel using a XLSX-template.
Version Downloads Last Updated
6.0.0-rc.3 172 8/14/2025
6.0.0-rc.2 664 7/31/2025
6.0.0-rc.1 166 7/17/2025
6.0.0-preview.4 234 3/26/2025
6.0.0-preview.3 257 1/28/2025
6.0.0-preview.2 198 1/22/2025
6.0.0-preview.1 2,287 6/17/2024
5.4.1.9 1,301 10/17/2025
5.4.1 22,313 4/7/2024
5.4.0 2,158 2/20/2024
5.3.2 49,030 10/18/2023
5.3.1 1,779 10/16/2023
5.3.0 1,786 10/12/2023
5.2.2 13,287 6/8/2023
5.2.1 1,792 5/18/2023
5.2.0 5,223 5/4/2023
5.1.1 2,753 3/25/2023
5.1.0 2,052 3/16/2023
5.0.0 1,868 2/23/2023
5.0.0-rc.2 230 2/16/2023
5.0.0-rc.1 247 2/9/2023
5.0.0-preview.2 269 2/2/2023
5.0.0-preview.1 279 1/12/2023
4.4.1 2,357 2/2/2023
4.4.0 3,551 12/15/2022
4.3.0 10,082 10/1/2022
4.2.0 2,427 9/1/2022
4.1.1 3,252 7/7/2022
4.1.0 2,090 6/16/2022
4.0.1 2,597 5/27/2022
4.0.0 2,701 5/19/2022
4.0.0-rc.2 276 5/15/2022
4.0.0-rc.1 273 4/29/2022
4.0.0-preview.9-fixed 377 11/12/2021
4.0.0-preview.10 1,561 11/15/2021
4.0.0-preview.9 289 11/11/2021
4.0.0-preview.8 367 10/22/2021
4.0.0-preview.7 364 10/14/2021
4.0.0-preview.6 379 10/2/2021
4.0.0-preview.5 371 9/10/2021
4.0.0-preview.4 497 8/13/2021
4.0.0-preview.3 365 7/9/2021
4.0.0-preview.2 333 7/1/2021
4.0.0-preview.1 336 6/9/2021
3.7.0 3,108 4/7/2022
3.6.0 5,519 11/15/2021
3.5.2.1 3,891 11/12/2021
3.5.2 2,433 11/11/2021
3.5.1 4,949 10/22/2021
3.5.0 6,550 10/14/2021
3.4.5 2,127 10/2/2021
3.4.4 3,814 9/10/2021
3.4.3 3,413 8/13/2021
3.4.2 3,760 7/9/2021
3.4.1 2,367 7/1/2021
3.4.0 6,795 6/3/2021
3.3.0 4,420 3/25/2021
3.2.3 15,415 1/4/2021
3.2.2 2,299 12/26/2020
3.2.1 2,448 12/17/2020
3.2.0 2,525 12/17/2020
3.1.6 6,164 10/31/2020
3.1.5 3,839 10/15/2020
3.1.4 2,630 10/8/2020
3.1.3 3,624 9/17/2020
3.1.2 2,952 9/3/2020
3.1.1 2,425 8/27/2020
3.1.0 2,557 8/20/2020
3.0.1 5,093 7/13/2020
3.0.0 2,644 7/10/2020
3.0.0-rc.2 606 7/5/2020
3.0.0-rc.1 454 6/17/2020
3.0.0-rc.0 514 5/30/2020
3.0.0-preview.2 538 3/28/2020
3.0.0-preview.1 1,036 10/17/2019
2.9.8 27,783 4/16/2020
2.9.7 28,213 3/5/2020
2.9.6 9,142 1/30/2020
2.9.5 3,870 12/30/2019
2.9.4 6,167 11/12/2019
2.9.3 2,717 10/30/2019
2.9.2 2,865 10/17/2019
2.9.1 3,011 10/3/2019
2.9.0 41,988 8/8/2019
2.8.1 2,728 7/29/2019
2.8.0 2,479 7/25/2019
2.7.4 16,050 6/14/2019
2.7.3 2,405 6/13/2019
2.7.2 3,195 6/1/2019
2.7.1 3,558 5/23/2019
2.7.0 3,157 4/25/2019
2.6.4 37,271 2/2/2019
2.6.3 3,045 1/20/2019
2.6.2 5,661 1/3/2019
2.6.1 2,900 12/21/2018
2.6.0 2,972 12/14/2018
2.5.4 8,116 11/21/2018
2.5.3 3,402 11/20/2018
2.5.2 3,731 11/12/2018
2.5.1 3,371 11/5/2018
2.5.0 3,555 11/1/2018
2.4.0 4,509 10/4/2018
2.3.0 5,823 8/30/2018
2.0.0-beta4 10,615 2/9/2018
2.0.0-beta3 10,700 2/6/2018
2.0.0-beta2 10,655 2/3/2018
2.0.0-beta1 10,807 2/2/2018
1.10.0 110,721 11/19/2017
1.9.0 27,933 8/30/2017
1.8.3 19,501 7/6/2017
1.8.2 18,753 6/6/2017
1.8.1 13,166 6/4/2017
1.8.0 14,391 5/18/2017
1.7.6 10,051 2/19/2017
1.7.5 4,001 2/7/2017
1.0.7.3 28,120 9/7/2015
1.0.7.2 5,259 8/13/2015
1.0.7.1 71,230 2/25/2015