linq2db.MySqlConnector 4.0.0-rc.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of linq2db.MySqlConnector.
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 4.0.0-rc.2
NuGet\Install-Package linq2db.MySqlConnector -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.MySqlConnector" 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.MySqlConnector --version 4.0.0-rc.2
#r "nuget: linq2db.MySqlConnector, 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.MySqlConnector as a Cake Addin
#addin nuget:?package=linq2db.MySqlConnector&version=4.0.0-rc.2&prerelease

// Install linq2db.MySqlConnector as a Cake Tool
#tool nuget:?package=linq2db.MySqlConnector&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 (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
5.4.0 992 2/20/2024
5.3.2 3,639 10/18/2023
5.3.1 294 10/16/2023
5.3.0 685 10/12/2023
5.2.2 502 6/8/2023
5.2.1 263 5/18/2023
5.2.0 230 5/4/2023
5.1.1 521 3/25/2023
5.1.0 293 3/16/2023
5.0.0 398 2/23/2023
5.0.0-rc.2 86 2/16/2023
5.0.0-rc.1 93 2/9/2023
5.0.0-preview.2 104 2/2/2023
5.0.0-preview.1 117 1/12/2023
4.4.1 366 2/2/2023
4.4.0 367 12/15/2022
4.3.0 1,218 10/1/2022
4.2.0 695 9/1/2022
4.1.1 1,733 7/7/2022
4.1.0 1,125 6/16/2022
4.0.1 1,244 5/27/2022
4.0.0 562 5/19/2022
4.0.0-rc.2 125 5/15/2022
4.0.0-rc.1 118 4/29/2022
4.0.0-preview.9-fixed 198 11/12/2021
4.0.0-preview.10 827 11/15/2021
4.0.0-preview.9 148 11/11/2021
4.0.0-preview.8 199 10/22/2021
4.0.0-preview.7 199 10/14/2021
4.0.0-preview.6 228 10/2/2021
4.0.0-preview.5 220 9/10/2021
4.0.0-preview.4 304 8/13/2021
4.0.0-preview.3 208 7/9/2021
4.0.0-preview.2 177 7/1/2021
4.0.0-preview.1 171 6/9/2021
3.7.0 2,369 4/7/2022
3.6.0 1,289 11/15/2021
3.5.2.1 382 11/12/2021
3.5.2 358 11/11/2021
3.5.1 457 10/22/2021
3.5.0 419 10/14/2021
3.4.5 1,455 10/2/2021
3.4.4 1,316 9/10/2021
3.4.3 1,021 8/13/2021
3.4.2 1,945 7/9/2021
3.4.1 565 7/1/2021
3.4.0 867 6/3/2021
3.3.0 16,533 3/25/2021
3.2.3 1,867 1/4/2021
3.2.2 658 12/26/2020
3.2.1 512 12/17/2020
3.2.0 472 12/17/2020
3.1.6 6,058 10/31/2020
3.1.5 747 10/15/2020
3.1.4 538 10/8/2020
3.1.3 858 9/17/2020
3.1.2 1,741 9/3/2020
3.1.1 562 8/27/2020
3.1.0 538 8/20/2020
3.0.1 890 7/13/2020
3.0.0 542 7/10/2020
3.0.0-rc.2 252 7/5/2020
3.0.0-rc.1 276 6/17/2020
3.0.0-rc.0 331 5/30/2020
3.0.0-preview.2 290 3/28/2020
3.0.0-preview.1 313 10/17/2019
2.9.8 3,722 4/16/2020
2.9.7 977 3/5/2020
2.9.6 670 1/30/2020
2.9.5 718 12/30/2019
2.9.4 702 11/12/2019
2.9.3 570 10/30/2019
2.9.2 558 10/17/2019
2.9.1 1,490 10/3/2019
2.9.0 1,148 8/8/2019
2.8.1 679 7/29/2019
2.8.0 597 7/25/2019
2.7.4 892 6/14/2019
2.7.3 616 6/13/2019
2.7.2 677 6/1/2019
2.7.1 620 5/23/2019
2.7.0 7,209 4/25/2019