magic.lambda.mssql 14.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package magic.lambda.mssql --version 14.0.2
                    
NuGet\Install-Package magic.lambda.mssql -Version 14.0.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="magic.lambda.mssql" Version="14.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="magic.lambda.mssql" Version="14.0.2" />
                    
Directory.Packages.props
<PackageReference Include="magic.lambda.mssql" />
                    
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 magic.lambda.mssql --version 14.0.2
                    
#r "nuget: magic.lambda.mssql, 14.0.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.
#:package magic.lambda.mssql@14.0.2
                    
#: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=magic.lambda.mssql&version=14.0.2
                    
Install as a Cake Addin
#tool nuget:?package=magic.lambda.mssql&version=14.0.2
                    
Install as a Cake Tool

Using Microsoft SQL Server from Hyperlambda

This is the Microsoft SQL Server data adapter for Magic. This project allows you to provide a semantic lambda structure to its slots, which in turn will dynamically create a SQL Server dialect SQL statement for you, for all basic types of CRUD SQL statements. In addition, it provides slots to open a SQL Server database connection, and such allows you to declare your own SQL statements, to be executed towards a SQL Server database. Slots this project contains are as follows.

  • [mssql.connect] - Connects to a database
  • [mssql.create] - Creates a single record in the specified table
  • [mssql.read] - Reads multiple records from the specified table
  • [mssql.update] - Updates a single record in the specified table
  • [mssql.delete] - Deletes a single record in the specified table
  • [mssql.select] - Executes an arbitrary SQL statement, and returns results of reader as lambda objects to caller
  • [mssql.scalar] - Executes an arbitrary SQL statement, and returns the result as a scalar value to caller
  • [mssql.execute] - Executes an aribitrary SQL statement
  • [mssql.transaction.create] - Creates a new transaction
  • [mssql.transaction.commit] - Explicitly commits an open transaction
  • [mssql.transaction.rollback] - Explicitly rolls back an open transaction

Notice - If you use any of the CRUD slots from above, the whole idea is that you can polymorphistically use the same lambda object, towards any of the underlaying database types, and the correct specific syntax for your particular database vendor's SQL syntax will be automatically generated. This allows you to transparently use the same lambda object, towards any of the database types Magic supports, without having to change it in any ways.

All of the slots in this project are documented in the documentation for the "magic.data.common" project. If you replace the [data.xxx] or [sql.xxx] slots with [mssql.xxx], you will use the SQL Server specific slots, instead of the generic, and/or polymorphistic slots. Hence, please refer to the documentation for "magic.data.common" to see the complete documentation for this project.

Project website

The source code for this repository can be found at github.com/polterguy/magic.lambda.mssql, and you can provide feedback, provide bug reports, etc at the same place.

Quality gates

  • Build status
  • Quality Gate Status
  • Bugs
  • Code Smells
  • Coverage
  • Duplicated Lines (%)
  • Lines of Code
  • Maintainability Rating
  • Reliability Rating
  • Security Rating
  • Technical Debt
  • Vulnerabilities
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on magic.lambda.mssql:

Package Downloads
magic.library

Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.2.0 1,797 1/22/2024
17.1.7 403 1/12/2024
17.1.6 368 1/11/2024
17.1.5 388 1/5/2024
17.0.1 413 1/1/2024
17.0.0 590 12/14/2023
16.11.5 482 11/12/2023
16.9.0 453 10/9/2023
16.7.0 803 7/11/2023
16.4.1 610 7/2/2023
16.4.0 558 6/22/2023
16.3.1 527 6/7/2023
16.3.0 502 5/28/2023
16.1.9 875 4/30/2023
15.10.11 707 4/13/2023
15.9.1 808 3/27/2023
15.9.0 709 3/24/2023
15.8.2 708 3/20/2023
15.7.0 589 3/6/2023
15.5.0 1,881 1/28/2023
15.2.0 839 1/18/2023
15.1.0 1,379 12/28/2022
14.5.7 914 12/13/2022
14.5.5 1,015 12/6/2022
14.5.1 867 11/23/2022
14.5.0 823 11/18/2022
14.4.5 924 10/22/2022
14.4.1 990 10/22/2022
14.4.0 859 10/17/2022
14.3.1 1,524 9/12/2022
14.3.0 831 9/10/2022
14.1.3 1,106 8/7/2022
14.1.2 845 8/7/2022
14.1.1 914 8/7/2022
14.0.14 893 7/26/2022
14.0.12 860 7/24/2022
14.0.11 836 7/23/2022
14.0.10 855 7/23/2022
14.0.9 869 7/23/2022
14.0.8 935 7/17/2022
14.0.5 988 7/11/2022
14.0.4 977 7/6/2022
14.0.3 906 7/2/2022
14.0.2 883 7/2/2022
14.0.0 1,073 6/25/2022
13.4.0 2,391 5/31/2022
13.3.4 1,732 5/9/2022
13.3.0 1,150 5/1/2022
13.2.0 1,411 4/21/2022
13.1.0 1,325 4/7/2022
13.0.0 947 4/5/2022
11.0.5 1,677 3/2/2022
11.0.4 992 2/22/2022
11.0.3 1,006 2/9/2022
11.0.2 1,034 2/6/2022
11.0.1 1,010 2/5/2022
10.0.21 974 1/28/2022
10.0.20 993 1/27/2022
10.0.19 943 1/23/2022
10.0.18 943 1/17/2022
10.0.16 823 1/14/2022
10.0.15 924 12/31/2021
10.0.14 824 12/28/2021
10.0.7 1,777 12/22/2021
10.0.5 971 12/18/2021
10.0.1 1,021 12/13/2021
9.9.9 1,543 11/29/2021
9.9.3 1,218 11/9/2021
9.9.2 826 11/4/2021
9.9.0 959 10/30/2021
9.8.9 926 10/29/2021
9.8.7 837 10/27/2021
9.8.6 870 10/27/2021
9.8.5 915 10/26/2021
9.8.0 1,651 10/20/2021
9.7.9 857 10/19/2021
9.7.5 1,802 10/14/2021
9.7.0 1,138 10/9/2021
9.6.7 882 8/30/2021
9.6.6 1,170 8/14/2021
9.4.0 4,214 6/24/2021
9.2.0 3,511 5/26/2021
9.1.4 1,563 4/21/2021
9.1.1 1,084 4/15/2021
9.1.0 855 4/14/2021
9.0.1 909 4/12/2021
9.0.0 825 4/5/2021
8.9.9 1,225 3/30/2021
8.9.3 1,816 3/19/2021
8.9.2 1,294 1/29/2021
8.9.1 1,260 1/24/2021
8.9.0 1,360 1/22/2021
8.7.1 1,878 11/15/2020
8.7.0 1,542 11/15/2020
8.6.9 1,495 11/8/2020
8.6.6 2,272 11/2/2020
8.6.0 4,384 10/28/2020
8.5.0 2,206 10/23/2020
8.4.0 5,966 10/13/2020
8.3.1 2,968 10/5/2020
8.3.0 1,487 10/3/2020
8.2.2 2,274 9/26/2020
8.2.1 1,541 9/25/2020
8.2.0 1,620 9/25/2020
8.1.17 7,179 9/13/2020
8.1.16 816 9/13/2020
8.1.15 2,161 9/12/2020
8.1.11 2,806 9/11/2020
8.1.10 1,585 9/6/2020
8.1.9 1,588 9/3/2020
8.1.8 1,546 9/2/2020
8.1.7 1,424 8/28/2020
8.1.4 1,452 8/25/2020
8.1.3 1,506 8/18/2020
8.1.2 1,435 8/16/2020
8.1.1 1,536 8/15/2020
8.1.0 828 8/15/2020
8.0.1 3,026 8/7/2020
8.0.0 1,461 8/7/2020
7.0.1 1,575 6/28/2020
7.0.0 1,453 6/28/2020
5.0.1 7,156 2/25/2020
5.0.0 1,571 2/25/2020
4.0.4 8,341 1/27/2020
4.0.3 1,517 1/27/2020
4.0.2 1,658 1/16/2020
4.0.1 1,622 1/11/2020
4.0.0 1,586 1/5/2020
3.1.1 4,531 12/4/2019
3.1.0 3,057 11/10/2019
3.0.1 2,959 10/28/2019
3.0.0 2,144 10/23/2019
2.0.6 1,301 10/21/2019
2.0.5 2,315 10/21/2019
2.0.4 2,297 10/19/2019
2.0.3 816 10/19/2019
2.0.2 2,091 10/18/2019
2.0.1 4,248 10/15/2019
2.0.0 1,912 10/13/2019
1.2.2 1,655 10/11/2019
1.2.1 1,576 10/10/2019
1.2.0 828 10/9/2019
1.1.9 859 10/8/2019
1.1.7 844 10/6/2019
1.1.6 848 10/6/2019
1.1.5 847 10/6/2019
1.1.4 836 10/6/2019
1.1.3 831 10/5/2019
1.0.0 870 9/26/2019