linq2db.SqlServer.MS 4.1.0

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

// Install linq2db.SqlServer.MS as a Cake Tool
#tool nuget:?package=linq2db.SqlServer.MS&version=4.1.0                

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0-preview.1 68 6/17/2024
5.4.1 1,043 4/7/2024
5.4.0 972 2/20/2024
5.3.2 3,635 10/18/2023
5.3.1 276 10/16/2023
5.3.0 338 10/12/2023
5.2.2 1,276 6/8/2023
5.2.1 181 5/18/2023
5.2.0 244 5/4/2023
5.1.1 1,758 3/25/2023
5.1.0 520 3/16/2023
5.0.0 293 2/23/2023
5.0.0-rc.2 122 2/16/2023
5.0.0-rc.1 109 2/9/2023
5.0.0-preview.2 129 2/2/2023
5.0.0-preview.1 170 1/12/2023
4.4.1 727 2/2/2023
4.4.0 351 12/15/2022
4.3.0 108,283 10/1/2022
4.2.0 638 9/1/2022
4.1.1 851 7/7/2022
4.1.0 16,916 6/16/2022
4.0.1 623 5/27/2022
4.0.0 2,976 5/19/2022
4.0.0-rc.2 134 5/15/2022
4.0.0-rc.1 131 4/29/2022
4.0.0-preview.10 175 11/15/2021
4.0.0-preview.9 164 11/11/2021
4.0.0-preview.8 212 10/22/2021
4.0.0-preview.7 209 10/14/2021
4.0.0-preview.6 231 10/2/2021
4.0.0-preview.5 220 9/10/2021
4.0.0-preview.4 347 8/13/2021
4.0.0-preview.3 213 7/9/2021
4.0.0-preview.2 177 7/1/2021
4.0.0-preview.1 179 6/9/2021
3.7.0 614 4/7/2022
3.6.0 4,859 11/15/2021
3.5.2 380 11/11/2021
3.5.1 448 10/22/2021
3.5.0 430 10/14/2021
3.4.5 556 10/2/2021
3.4.4 437 9/10/2021
3.4.3 691 8/13/2021
3.4.2 1,422 7/9/2021
3.4.1 883 7/1/2021
3.4.0 958 6/3/2021
3.3.0 463 3/25/2021
3.2.3 3,335 1/4/2021
3.2.2 464 12/26/2020
3.2.1 518 12/17/2020
3.2.0 610 12/17/2020
3.1.6 610 10/31/2020
3.1.5 502 10/15/2020
3.1.4 496 10/8/2020
3.1.3 604 9/17/2020
3.1.2 618 9/3/2020
3.1.1 540 8/27/2020
3.1.0 558 8/20/2020
3.0.1 603 7/13/2020
3.0.0 543 7/10/2020
3.0.0-rc.2 420 7/5/2020
3.0.0-rc.1 278 6/17/2020
3.0.0-rc.0 317 5/30/2020
3.0.0-preview.2 1,820 3/28/2020
3.0.0-preview.1 886 10/17/2019