magic.lambda.mssql 13.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package magic.lambda.mssql --version 13.1.0
                    
NuGet\Install-Package magic.lambda.mssql -Version 13.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="magic.lambda.mssql" Version="13.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="magic.lambda.mssql" Version="13.1.0" />
                    
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 13.1.0
                    
#r "nuget: magic.lambda.mssql, 13.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.
#addin nuget:?package=magic.lambda.mssql&version=13.1.0
                    
Install magic.lambda.mssql as a Cake Addin
#tool nuget:?package=magic.lambda.mssql&version=13.1.0
                    
Install magic.lambda.mssql 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. 
.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 875 1/22/2024
17.1.7 212 1/12/2024
17.1.6 182 1/11/2024
17.1.5 209 1/5/2024
17.0.1 249 1/1/2024
17.0.0 394 12/14/2023
16.11.5 367 11/12/2023
16.9.0 353 10/9/2023
16.7.0 602 7/11/2023
16.4.1 427 7/2/2023
16.4.0 398 6/22/2023
16.3.1 396 6/7/2023
16.3.0 386 5/28/2023
16.1.9 694 4/30/2023
15.10.11 543 4/13/2023
15.9.1 690 3/27/2023
15.9.0 556 3/24/2023
15.8.2 569 3/20/2023
15.7.0 442 3/6/2023
15.5.0 1,680 1/28/2023
15.2.0 719 1/18/2023
15.1.0 1,233 12/28/2022
14.5.7 768 12/13/2022
14.5.5 870 12/6/2022
14.5.1 733 11/23/2022
14.5.0 695 11/18/2022
14.4.5 797 10/22/2022
14.4.1 832 10/22/2022
14.4.0 714 10/17/2022
14.3.1 1,333 9/12/2022
14.3.0 672 9/10/2022
14.1.3 949 8/7/2022
14.1.2 703 8/7/2022
14.1.1 750 8/7/2022
14.0.14 752 7/26/2022
14.0.12 735 7/24/2022
14.0.11 697 7/23/2022
14.0.10 722 7/23/2022
14.0.9 704 7/23/2022
14.0.8 789 7/17/2022
14.0.5 853 7/11/2022
14.0.4 825 7/6/2022
14.0.3 764 7/2/2022
14.0.2 724 7/2/2022
14.0.0 892 6/25/2022
13.4.0 2,159 5/31/2022
13.3.4 1,528 5/9/2022
13.3.0 983 5/1/2022
13.2.0 1,236 4/21/2022
13.1.0 1,141 4/7/2022
13.0.0 813 4/5/2022
11.0.5 1,513 3/2/2022
11.0.4 836 2/22/2022
11.0.3 824 2/9/2022
11.0.2 862 2/6/2022
11.0.1 841 2/5/2022
10.0.21 831 1/28/2022
10.0.20 853 1/27/2022
10.0.19 811 1/23/2022
10.0.18 803 1/17/2022
10.0.16 659 1/14/2022
10.0.15 778 12/31/2021
10.0.14 644 12/28/2021
10.0.7 1,551 12/22/2021
10.0.5 810 12/18/2021
10.0.1 830 12/13/2021
9.9.9 1,351 11/29/2021
9.9.3 1,010 11/9/2021
9.9.2 664 11/4/2021
9.9.0 810 10/30/2021
9.8.9 756 10/29/2021
9.8.7 705 10/27/2021
9.8.6 703 10/27/2021
9.8.5 727 10/26/2021
9.8.0 1,436 10/20/2021
9.7.9 692 10/19/2021
9.7.5 1,580 10/14/2021
9.7.0 947 10/9/2021
9.6.7 731 8/30/2021
9.6.6 1,017 8/14/2021
9.4.0 3,815 6/24/2021
9.2.0 3,193 5/26/2021
9.1.4 1,346 4/21/2021
9.1.1 891 4/15/2021
9.1.0 717 4/14/2021
9.0.1 759 4/12/2021
9.0.0 663 4/5/2021
8.9.9 1,054 3/30/2021
8.9.3 1,627 3/19/2021
8.9.2 1,100 1/29/2021
8.9.1 1,100 1/24/2021
8.9.0 1,193 1/22/2021
8.7.1 1,679 11/15/2020
8.7.0 1,328 11/15/2020
8.6.9 1,322 11/8/2020
8.6.6 2,055 11/2/2020
8.6.0 4,096 10/28/2020
8.5.0 1,991 10/23/2020
8.4.0 5,651 10/13/2020
8.3.1 2,712 10/5/2020
8.3.0 1,305 10/3/2020
8.2.2 2,055 9/26/2020
8.2.1 1,377 9/25/2020
8.2.0 1,450 9/25/2020
8.1.17 6,836 9/13/2020
8.1.16 669 9/13/2020
8.1.15 1,970 9/12/2020
8.1.11 2,564 9/11/2020
8.1.10 1,386 9/6/2020
8.1.9 1,400 9/3/2020
8.1.8 1,367 9/2/2020
8.1.7 1,240 8/28/2020
8.1.4 1,266 8/25/2020
8.1.3 1,321 8/18/2020
8.1.2 1,268 8/16/2020
8.1.1 1,363 8/15/2020
8.1.0 678 8/15/2020
8.0.1 2,777 8/7/2020
8.0.0 1,274 8/7/2020
7.0.1 1,412 6/28/2020
7.0.0 1,288 6/28/2020
5.0.1 6,779 2/25/2020
5.0.0 1,386 2/25/2020
4.0.4 7,939 1/27/2020
4.0.3 1,338 1/27/2020
4.0.2 1,453 1/16/2020
4.0.1 1,423 1/11/2020
4.0.0 1,420 1/5/2020
3.1.1 4,254 12/4/2019
3.1.0 2,830 11/10/2019
3.0.1 2,707 10/28/2019
3.0.0 1,941 10/23/2019
2.0.6 1,124 10/21/2019
2.0.5 2,123 10/21/2019
2.0.4 2,071 10/19/2019
2.0.3 629 10/19/2019
2.0.2 1,855 10/18/2019
2.0.1 3,946 10/15/2019
2.0.0 1,702 10/13/2019
1.2.2 1,451 10/11/2019
1.2.1 1,393 10/10/2019
1.2.0 655 10/9/2019
1.1.9 678 10/8/2019
1.1.7 672 10/6/2019
1.1.6 671 10/6/2019
1.1.5 671 10/6/2019
1.1.4 678 10/6/2019
1.1.3 667 10/5/2019
1.0.0 715 9/26/2019