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

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

LINQ to DB

License

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 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 (2)

Showing the top 2 NuGet packages that depend on linq2db.MySqlConnector:

Package Downloads
AntDataCodeGen

Orm代码生成器

AsdDotNet.Db.Linq2db.MySql

AsdFrameworks2

GitHub repositories (1)

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

Repository Stars
BAndysc/WoWDatabaseEditor
Integrated development environment (IDE), an editor for Smart Scripts (SAI/smart_scripts) for TrinityCore based servers. Cmangos support work in progress. Featuring a 3D view built with OpenGL and custom ECS framework
Version Downloads Last updated
6.0.0-preview.1 176 6/17/2024
5.4.1 1,510 4/7/2024
5.4.0 1,679 2/20/2024
5.3.2 3,904 10/18/2023
5.3.1 331 10/16/2023
5.3.0 985 10/12/2023
5.2.2 537 6/8/2023
5.2.1 321 5/18/2023
5.2.0 265 5/4/2023
5.1.1 597 3/25/2023
5.1.0 326 3/16/2023
5.0.0 452 2/23/2023
5.0.0-rc.2 113 2/16/2023
5.0.0-rc.1 115 2/9/2023
5.0.0-preview.2 129 2/2/2023
5.0.0-preview.1 144 1/12/2023
4.4.1 405 2/2/2023
4.4.0 488 12/15/2022
4.3.0 1,266 10/1/2022
4.2.0 744 9/1/2022
4.1.1 1,778 7/7/2022
4.1.0 1,184 6/16/2022
4.0.1 1,278 5/27/2022
4.0.0 596 5/19/2022
4.0.0-rc.2 152 5/15/2022
4.0.0-rc.1 135 4/29/2022
4.0.0-preview.9-fixed 224 11/12/2021
4.0.0-preview.10 842 11/15/2021
4.0.0-preview.9 173 11/11/2021
4.0.0-preview.8 209 10/22/2021
4.0.0-preview.7 222 10/14/2021
4.0.0-preview.6 243 10/2/2021
4.0.0-preview.5 244 9/10/2021
4.0.0-preview.4 317 8/13/2021
4.0.0-preview.3 223 7/9/2021
4.0.0-preview.2 199 7/1/2021
4.0.0-preview.1 196 6/9/2021
3.7.0 7,941 4/7/2022
3.6.0 1,361 11/15/2021
3.5.2.1 437 11/12/2021
3.5.2 394 11/11/2021
3.5.1 478 10/22/2021
3.5.0 459 10/14/2021
3.4.5 1,507 10/2/2021
3.4.4 1,577 9/10/2021
3.4.3 1,066 8/13/2021
3.4.2 1,994 7/9/2021
3.4.1 597 7/1/2021
3.4.0 892 6/3/2021
3.3.0 21,728 3/25/2021
3.2.3 2,094 1/4/2021
3.2.2 698 12/26/2020
3.2.1 551 12/17/2020
3.2.0 499 12/17/2020
3.1.6 6,094 10/31/2020
3.1.5 786 10/15/2020
3.1.4 574 10/8/2020
3.1.3 906 9/17/2020
3.1.2 1,776 9/3/2020
3.1.1 605 8/27/2020
3.1.0 580 8/20/2020
3.0.1 928 7/13/2020
3.0.0 584 7/10/2020
3.0.0-rc.2 268 7/5/2020
3.0.0-rc.1 304 6/17/2020
3.0.0-rc.0 353 5/30/2020
3.0.0-preview.2 311 3/28/2020
3.0.0-preview.1 337 10/17/2019
2.9.8 3,776 4/16/2020
2.9.7 1,011 3/5/2020
2.9.6 704 1/30/2020
2.9.5 761 12/30/2019
2.9.4 739 11/12/2019
2.9.3 622 10/30/2019
2.9.2 608 10/17/2019
2.9.1 1,585 10/3/2019
2.9.0 1,192 8/8/2019
2.8.1 705 7/29/2019
2.8.0 637 7/25/2019
2.7.4 925 6/14/2019
2.7.3 653 6/13/2019
2.7.2 720 6/1/2019
2.7.1 656 5/23/2019
2.7.0 7,591 4/25/2019