linq2db.MySqlConnector 4.0.0-rc.1

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.1                
NuGet\Install-Package linq2db.MySqlConnector -Version 4.0.0-rc.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="4.0.0-rc.1" />                
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.1                
#r "nuget: linq2db.MySqlConnector, 4.0.0-rc.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=4.0.0-rc.1&prerelease

// Install linq2db.MySqlConnector as a Cake Tool
#tool nuget:?package=linq2db.MySqlConnector&version=4.0.0-rc.1&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
6.0.0-preview.1 56 6/17/2024
5.4.1 1,024 4/7/2024
5.4.0 1,557 2/20/2024
5.3.2 3,818 10/18/2023
5.3.1 313 10/16/2023
5.3.0 899 10/12/2023
5.2.2 532 6/8/2023
5.2.1 280 5/18/2023
5.2.0 244 5/4/2023
5.1.1 559 3/25/2023
5.1.0 305 3/16/2023
5.0.0 420 2/23/2023
5.0.0-rc.2 93 2/16/2023
5.0.0-rc.1 101 2/9/2023
5.0.0-preview.2 112 2/2/2023
5.0.0-preview.1 123 1/12/2023
4.4.1 391 2/2/2023
4.4.0 447 12/15/2022
4.3.0 1,240 10/1/2022
4.2.0 707 9/1/2022
4.1.1 1,749 7/7/2022
4.1.0 1,147 6/16/2022
4.0.1 1,255 5/27/2022
4.0.0 573 5/19/2022
4.0.0-rc.2 130 5/15/2022
4.0.0-rc.1 124 4/29/2022
4.0.0-preview.9-fixed 202 11/12/2021
4.0.0-preview.10 829 11/15/2021
4.0.0-preview.9 150 11/11/2021
4.0.0-preview.8 202 10/22/2021
4.0.0-preview.7 203 10/14/2021
4.0.0-preview.6 231 10/2/2021
4.0.0-preview.5 222 9/10/2021
4.0.0-preview.4 307 8/13/2021
4.0.0-preview.3 213 7/9/2021
4.0.0-preview.2 181 7/1/2021
4.0.0-preview.1 175 6/9/2021
3.7.0 3,207 4/7/2022
3.6.0 1,319 11/15/2021
3.5.2.1 413 11/12/2021
3.5.2 366 11/11/2021
3.5.1 466 10/22/2021
3.5.0 428 10/14/2021
3.4.5 1,473 10/2/2021
3.4.4 1,468 9/10/2021
3.4.3 1,030 8/13/2021
3.4.2 1,965 7/9/2021
3.4.1 575 7/1/2021
3.4.0 875 6/3/2021
3.3.0 20,159 3/25/2021
3.2.3 1,987 1/4/2021
3.2.2 666 12/26/2020
3.2.1 521 12/17/2020
3.2.0 478 12/17/2020
3.1.6 6,072 10/31/2020
3.1.5 757 10/15/2020
3.1.4 548 10/8/2020
3.1.3 869 9/17/2020
3.1.2 1,751 9/3/2020
3.1.1 571 8/27/2020
3.1.0 547 8/20/2020
3.0.1 902 7/13/2020
3.0.0 552 7/10/2020
3.0.0-rc.2 259 7/5/2020
3.0.0-rc.1 283 6/17/2020
3.0.0-rc.0 337 5/30/2020
3.0.0-preview.2 295 3/28/2020
3.0.0-preview.1 319 10/17/2019
2.9.8 3,747 4/16/2020
2.9.7 990 3/5/2020
2.9.6 682 1/30/2020
2.9.5 732 12/30/2019
2.9.4 716 11/12/2019
2.9.3 585 10/30/2019
2.9.2 570 10/17/2019
2.9.1 1,505 10/3/2019
2.9.0 1,158 8/8/2019
2.8.1 691 7/29/2019
2.8.0 607 7/25/2019
2.7.4 903 6/14/2019
2.7.3 628 6/13/2019
2.7.2 687 6/1/2019
2.7.1 632 5/23/2019
2.7.0 7,376 4/25/2019