linq2db.MySql 4.1.1

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

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

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.MySql:

Package Downloads
Hangfire.MySql

MySql storage implementation for Hangfire (background job system for ASP.NET applications).

Rockatuestilo.DataRepoMain

Package Description

JasonPereira84.Helpers.LinqToDB

LinqToDB helper methods, properties, objects etc.

AsdDb.Linq2db.MySql

AsdFrameworks

ExtensionsHelpers

Package Description

GitHub repositories (1)

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

Repository Stars
linq2db/linq2db
Linq to database provider.
Version Downloads Last updated
6.0.0-preview.3 42 1/28/2025
6.0.0-preview.2 36 1/22/2025
6.0.0-preview.1 696 6/17/2024
5.4.1 12,179 4/7/2024
5.4.0 3,973 2/20/2024
5.3.2 12,041 10/18/2023
5.3.1 4,911 10/16/2023
5.3.0 10,425 10/12/2023
5.2.2 6,248 6/8/2023
5.2.1 4,028 5/18/2023
5.2.0 3,433 5/4/2023
5.1.1 4,253 3/25/2023
5.1.0 3,758 3/16/2023
5.0.0 4,261 2/23/2023
5.0.0-rc.2 135 2/16/2023
5.0.0-rc.1 138 2/9/2023
5.0.0-preview.2 146 2/2/2023
5.0.0-preview.1 168 1/12/2023
4.4.1 5,566 2/2/2023
4.4.0 5,517 12/15/2022
4.3.0 8,379 10/1/2022
4.2.0 6,263 9/1/2022
4.1.1 7,700 7/7/2022
4.1.0 5,220 6/16/2022
4.0.1 4,951 5/27/2022
4.0.0 4,282 5/19/2022
4.0.0-rc.2 173 5/15/2022
4.0.0-rc.1 189 4/29/2022
4.0.0-preview.9-fixed 478 11/12/2021
4.0.0-preview.10 197 11/15/2021
4.0.0-preview.9 181 11/11/2021
4.0.0-preview.8 566 10/22/2021
4.0.0-preview.7 246 10/14/2021
4.0.0-preview.6 266 10/2/2021
4.0.0-preview.5 266 9/10/2021
4.0.0-preview.4 1,863 8/13/2021
4.0.0-preview.3 383 7/9/2021
4.0.0-preview.2 221 7/1/2021
4.0.0-preview.1 228 6/9/2021
3.7.0 39,903 4/7/2022
3.6.0 104,229 11/15/2021
3.5.2.1 8,393 11/12/2021
3.5.2 3,250 11/11/2021
3.5.1 7,283 10/22/2021
3.5.0 4,363 10/14/2021
3.4.5 4,635 10/2/2021
3.4.4 9,689 9/10/2021
3.4.3 20,546 8/13/2021
3.4.2 11,734 7/9/2021
3.4.1 3,773 7/1/2021
3.4.0 7,787 6/3/2021
3.3.0 30,159 3/25/2021
3.2.3 9,762 1/4/2021
3.2.2 4,571 12/26/2020
3.2.1 4,030 12/17/2020
3.2.0 3,778 12/17/2020
3.1.6 20,970 10/31/2020
3.1.5 4,982 10/15/2020
3.1.4 6,016 10/8/2020
3.1.3 4,498 9/17/2020
3.1.2 4,197 9/3/2020
3.1.1 3,741 8/27/2020
3.1.0 3,547 8/20/2020
3.0.1 4,903 7/13/2020
3.0.0 3,955 7/10/2020
3.0.0-rc.2 308 7/5/2020
3.0.0-rc.1 469 6/17/2020
3.0.0-rc.0 702 5/30/2020
3.0.0-preview.2 502 3/28/2020
3.0.0-preview.1 952 10/17/2019
2.9.8 87,011 4/16/2020
2.9.7 20,326 3/5/2020
2.9.6 30,111 1/30/2020
2.9.5 35,202 12/30/2019
2.9.4 6,054 11/12/2019
2.9.3 4,062 10/30/2019
2.9.2 6,845 10/17/2019
2.9.1 15,541 10/3/2019
2.9.0 58,274 8/8/2019
2.8.1 4,413 7/29/2019
2.8.0 4,477 7/25/2019
2.7.4 9,365 6/14/2019
2.7.3 4,051 6/13/2019
2.7.2 4,770 6/1/2019
2.7.1 3,941 5/23/2019
2.7.0 4,314 4/25/2019
2.6.4 6,168 2/2/2019
2.6.3 7,813 1/20/2019
2.6.2 4,782 1/3/2019
2.6.1 4,533 12/21/2018
2.6.0 4,361 12/14/2018
2.5.4 5,775 11/21/2018
2.5.3 4,251 11/20/2018
2.5.2 4,895 11/12/2018
2.5.1 4,505 11/5/2018
2.5.0 3,838 11/1/2018
2.4.0 7,281 10/4/2018
2.3.0 7,038 8/30/2018
2.2.0 4,744 7/26/2018
2.1.0 5,530 6/21/2018
2.0.0 6,260 5/17/2018
1.10.0 22,437 11/19/2017
1.9.0 5,966 8/30/2017
1.8.3 6,075 7/6/2017
1.8.2 5,091 6/6/2017
1.8.1 4,395 6/4/2017
1.8.0 4,745 5/18/2017
1.7.6 8,463 2/19/2017
1.7.5 4,754 2/7/2017
1.0.7.3 50,456 9/7/2015
1.0.7.2 5,474 8/13/2015
1.0.7 13,648 2/1/2015