linq2db.MySqlConnector 5.4.1

Prefix Reserved
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.MySqlConnector --version 5.4.1                
NuGet\Install-Package linq2db.MySqlConnector -Version 5.4.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.4.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add linq2db.MySqlConnector --version 5.4.1                
#r "nuget: linq2db.MySqlConnector, 5.4.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.4.1

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

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 (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 1,087 6/17/2024
5.4.1 1,849 4/7/2024
5.4.0 1,812 2/20/2024
5.3.2 3,917 10/18/2023
5.3.1 338 10/16/2023
5.3.0 1,107 10/12/2023
5.2.2 546 6/8/2023
5.2.1 329 5/18/2023
5.2.0 272 5/4/2023
5.1.1 613 3/25/2023
5.1.0 332 3/16/2023
5.0.0 460 2/23/2023
5.0.0-rc.2 117 2/16/2023
5.0.0-rc.1 119 2/9/2023
5.0.0-preview.2 133 2/2/2023
5.0.0-preview.1 150 1/12/2023
4.4.1 412 2/2/2023
4.4.0 523 12/15/2022
4.3.0 1,274 10/1/2022
4.2.0 752 9/1/2022
4.1.1 1,786 7/7/2022
4.1.0 1,192 6/16/2022
4.0.1 1,286 5/27/2022
4.0.0 604 5/19/2022
4.0.0-rc.2 156 5/15/2022
4.0.0-rc.1 139 4/29/2022
4.0.0-preview.9-fixed 228 11/12/2021
4.0.0-preview.10 846 11/15/2021
4.0.0-preview.9 177 11/11/2021
4.0.0-preview.8 213 10/22/2021
4.0.0-preview.7 226 10/14/2021
4.0.0-preview.6 247 10/2/2021
4.0.0-preview.5 248 9/10/2021
4.0.0-preview.4 321 8/13/2021
4.0.0-preview.3 227 7/9/2021
4.0.0-preview.2 203 7/1/2021
4.0.0-preview.1 200 6/9/2021
3.7.0 13,772 4/7/2022
3.6.0 1,389 11/15/2021
3.5.2.1 445 11/12/2021
3.5.2 403 11/11/2021
3.5.1 962 10/22/2021
3.5.0 469 10/14/2021
3.4.5 1,515 10/2/2021
3.4.4 1,658 9/10/2021
3.4.3 1,074 8/13/2021
3.4.2 2,002 7/9/2021
3.4.1 605 7/1/2021
3.4.0 900 6/3/2021
3.3.0 23,410 3/25/2021
3.2.3 2,177 1/4/2021
3.2.2 706 12/26/2020
3.2.1 559 12/17/2020
3.2.0 507 12/17/2020
3.1.6 6,102 10/31/2020
3.1.5 794 10/15/2020
3.1.4 582 10/8/2020
3.1.3 914 9/17/2020
3.1.2 1,786 9/3/2020
3.1.1 614 8/27/2020
3.1.0 588 8/20/2020
3.0.1 937 7/13/2020
3.0.0 592 7/10/2020
3.0.0-rc.2 272 7/5/2020
3.0.0-rc.1 308 6/17/2020
3.0.0-rc.0 357 5/30/2020
3.0.0-preview.2 315 3/28/2020
3.0.0-preview.1 342 10/17/2019
2.9.8 3,784 4/16/2020
2.9.7 1,019 3/5/2020
2.9.6 714 1/30/2020
2.9.5 769 12/30/2019
2.9.4 747 11/12/2019
2.9.3 630 10/30/2019
2.9.2 617 10/17/2019
2.9.1 1,593 10/3/2019
2.9.0 1,202 8/8/2019
2.8.1 714 7/29/2019
2.8.0 646 7/25/2019
2.7.4 932 6/14/2019
2.7.3 661 6/13/2019
2.7.2 728 6/1/2019
2.7.1 664 5/23/2019
2.7.0 7,670 4/25/2019