MarkMpn.SQL4CDS 10.1.0

dotnet add package MarkMpn.SQL4CDS --version 10.1.0
                    
NuGet\Install-Package MarkMpn.SQL4CDS -Version 10.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="MarkMpn.SQL4CDS" Version="10.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MarkMpn.SQL4CDS" Version="10.1.0" />
                    
Directory.Packages.props
<PackageReference Include="MarkMpn.SQL4CDS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MarkMpn.SQL4CDS --version 10.1.0
                    
#r "nuget: MarkMpn.SQL4CDS, 10.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.
#:package MarkMpn.SQL4CDS@10.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MarkMpn.SQL4CDS&version=10.1.0
                    
Install as a Cake Addin
#tool nuget:?package=MarkMpn.SQL4CDS&version=10.1.0
                    
Install as a Cake Tool

SQL 4 CDS allows you to use standard SQL syntax to query and manipulate your data and metadata in Dataverse / D365.

Supports
- SELECT
- INSERT
- UPDATE
- DELETE

Where possible the queries are converted to FetchXML, allowing you to generate FetchXML queries for
plugins or integrations by writing familiar SQL and converting it.

Queries can also run using the preview TDS Endpoint. A wide range of SQL functionality is also built
in to allow running queries that aren't directly supported by either FetchXML or the TDS Endpoint.

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in 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
10.1.0 2,491 9/2/2025
10.0.0 8,682 7/18/2025
9.6.1 15,082 4/30/2025
9.6.0 15,233 2/22/2025
9.5.1 13,887 12/12/2024
9.5.0 2,156 12/10/2024
9.4.1 8,569 11/10/2024
9.4.0 2,278 11/5/2024
9.3.0 16,107 8/27/2024
9.2.0 9,533 7/12/2024
9.1.0 8,360 6/10/2024
9.0.1 7,909 5/8/2024
9.0.0 2,075 5/2/2024
8.0.0 20,933 11/25/2023
7.6.1 9,535 10/16/2023
7.6.0 4,940 9/30/2023
7.5.2 4,281 9/17/2023
7.5.1 630 9/11/2023
7.5.0 4,163 9/4/2023
7.4.0 7,638 8/7/2023
7.3.0 11,352 6/12/2023
7.2.2 2,885 5/2/2023
7.2.1 372 4/30/2023
7.1.0 17,309 1/31/2023
7.0.3 13,602 10/11/2022
7.0.2 3,118 10/2/2022
7.0.1 546 9/28/2022
7.0.0 3,355 9/21/2022
6.4.0 8,631 7/28/2022
6.3.0 5,811 6/28/2022
6.2.1 5,581 5/26/2022
6.2.0 2,671 5/18/2022
6.1.0 2,453 5/11/2022
6.0.1 6,512 4/13/2022
6.0.0 1,835 4/10/2022
5.4.1 9,843 1/18/2022
5.4.0 3,040 1/4/2022
5.3.1 4,984 12/2/2021
5.3.0 1,878 11/27/2021
5.2.5 8,593 9/29/2021
5.2.4 3,452 9/16/2021
5.2.3 2,791 9/1/2021
5.2.2 705 8/31/2021
5.2.1 5,703 6/29/2021
5.1.1 4,701 5/15/2021
5.1.0 1,682 5/6/2021
5.0.0 1,525 4/29/2021
4.1.0 3,767 3/18/2021
4.0.3 2,969 2/20/2021
4.0.2 1,621 2/10/2021
4.0.1 2,180 1/28/2021
4.0.0 2,374 1/13/2021
3.1.0 3,006 12/13/2020
3.0.0 3,766 11/2/2020
2.3.0 4,491 8/28/2020
2.2.0 3,185 7/15/2020
2.1.2 3,553 5/27/2020
2.1.1 1,046 5/25/2020
2.1.0 773 5/24/2020
2.0.1 2,645 4/23/2020
2.0.0 1,201 4/17/2020
1.0.9 4,058 2/3/2020
1.0.8 638 2/3/2020
1.0.7 895 1/31/2020
1.0.6 1,937 1/10/2020
1.0.5 823 1/9/2020
1.0.4 3,278 11/15/2019
1.0.3 1,188 11/11/2019
1.0.2 2,378 10/11/2019
1.0.1 708 10/11/2019
1.0.0 753 10/9/2019

New features:
* Support additional parameters for `TRIM`, `LTRIM` and `RTRIM` functions for SQL Server 2022 compatibility
* Allow filtering on `versionnumber` column using binary literals

Improvements:
* Ensure optionset metadata primary key columns are flagged as not null for more efficient joins
* Fold filters to inner side of outer joins for better performance

Bug fixes:
* Fixed `KeyNotFoundException` when referencing a metadata table without selecting any columns from it
* Fixed "The table '<name>' is ambiguous" error when using `UPDATE` with joins and subqueries
* Fixed use of `COALESCE` and other primary functions in variable assignments