SQLProvider 1.3.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SQLProvider --version 1.3.3
NuGet\Install-Package SQLProvider -Version 1.3.3
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="SQLProvider" Version="1.3.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SQLProvider --version 1.3.3
#r "nuget: SQLProvider, 1.3.3"
#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 SQLProvider as a Cake Addin
#addin nuget:?package=SQLProvider&version=1.3.3

// Install SQLProvider as a Cake Tool
#tool nuget:?package=SQLProvider&version=1.3.3

Issue Status PR Status

SQLProvider NuGet Status

Join the chat at https://gitter.im/fsprojects/SQLProvider

A general .NET/Mono SQL database type provider. Current features :

  • LINQ queries
  • Lazy schema exploration
  • Automatic constraint navigation
  • Individuals
  • Transactional CRUD operations with identity support
  • Two-way data binding
  • Stored Procedures
  • Functions
  • Packages (Oracle)
  • Composable Query integration
  • Optional option types
  • Mapping to record types
  • Custom Operators
  • Supports Asynchronous Operations
  • Supports .NET Standard / .NET Core
  • Supports saving DB schema offline, and SQL-Server *.dacpac files

The provider currently has explicit implementations for the following database vendors :

  • SQL Server
  • SQLite
  • PostgreSQL
  • Oracle
  • MySQL (& MariaDB)
  • MsAccess
  • Firebird

There is also an ODBC provider that will let you connect to any ODBC source with limited features.

Documentation

Core documentation and samples can be found at the SQLProvider home page. This documentation is generated from docs/content/, so please feel free to submit a pull request if you have fixed typos are added additional samples and documentation!

Building

  • Mono: Run build.sh Mono build status
  • Windows: Run build.cmd Build status

Known issues

  • Database vendors other than SQL Server and Access use dynamic assembly loading. This may cause some security problems depending on your system's configuration and which version of the .NET framework you are using. If you encounter problems loading dynamic assemblies, they can likely be resolved by applying the following element into the configuration files of fsi.exe, devenv.exe and your program or the program using your library : http://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx

Example

No OR-mapping: FSharp compiles your database to .NET-types.

Maintainer(s)

The default maintainer account for projects under "fsprojects" is @fsprojectsgit - F# Community Project Incubation Space (repo management)

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. 
.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 is compatible.  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

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
1.3.36 176 4/19/2024
1.3.35 523 4/9/2024
1.3.34 288 4/4/2024
1.3.33 223 4/1/2024
1.3.32 201 3/27/2024
1.3.31 148 3/25/2024
1.3.30 336 3/18/2024
1.3.29 506 3/12/2024
1.3.28 105 3/11/2024
1.3.27 455 2/29/2024
1.3.26 136 2/27/2024
1.3.25 115 2/27/2024
1.3.24 144 2/23/2024
1.3.23 1,840 1/11/2024
1.3.22 3,394 11/13/2023
1.3.21 170 11/10/2023
1.3.19 589 10/30/2023
1.3.18 655 10/22/2023
1.3.17 149 10/21/2023
1.3.16 147 10/21/2023
1.3.15 208 10/19/2023
1.3.14 905 10/10/2023
1.3.13 243 10/8/2023
1.3.12 179 10/7/2023
1.3.11 2,844 7/13/2023
1.3.10 1,552 6/19/2023
1.3.9 321 6/15/2023
1.3.8 2,215 5/12/2023
1.3.7 3,330 3/8/2023
1.3.6 6,663 1/9/2023
1.3.5 2,812 12/20/2022
1.3.4 3,009 12/4/2022
1.3.3 887 11/18/2022
1.3.2 1,092 11/8/2022
1.3.1 86,946 8/10/2022
1.3.1-alpha3 170 8/4/2022
1.3.1-alpha2 427 7/6/2022
1.3.1-alpha 226 6/27/2022
1.2.12 8,168 8/4/2022
1.2.11 31,505 2/21/2022
1.2.10 4,887 10/21/2021
1.2.9 3,125 8/9/2021
1.2.8 530 8/9/2021
1.2.7 1,523 7/19/2021
1.2.6 864 7/12/2021
1.2.5 789 6/30/2021
1.2.4 547 6/28/2021
1.2.3 1,378 6/25/2021
1.2.1 14,452 3/15/2021
1.2.0 3,328 3/5/2021
1.2.0-alpha 386 3/3/2021
1.1.102 85 4/3/2024
1.1.101 24,710 2/7/2021
1.1.100 2,276 1/25/2021
1.1.99 3,372 1/12/2021
1.1.98 2,590 1/2/2021
1.1.97 2,250 12/25/2020
1.1.96 2,160 12/21/2020
1.1.95 2,011 12/19/2020
1.1.94 1,860 11/27/2020
1.1.93 2,196 10/13/2020
1.1.92 1,334 9/18/2020
1.1.91 10,030 6/4/2020
1.1.90 854 6/4/2020
1.1.89 1,136 6/2/2020
1.1.88 857 5/31/2020
1.1.87 1,365 5/20/2020
1.1.86 2,473 5/5/2020
1.1.85 932 5/1/2020
1.1.84 4,184 2/26/2020
1.1.83 1,856 2/11/2020
1.1.82 892 2/10/2020
1.1.81 1,223 2/5/2020
1.1.80 877 2/5/2020
1.1.79 1,847 2/4/2020
1.1.78 984 2/4/2020
1.1.76 7,346 12/10/2019
1.1.75 5,375 11/18/2019
1.1.74 1,850 11/12/2019
1.1.73 1,082 11/11/2019
1.1.72 1,144 11/10/2019
1.1.71 1,525 11/1/2019
1.1.68 25,819 9/10/2019
1.1.67 1,648 8/29/2019
1.1.66 4,532 7/31/2019
1.1.65 6,499 6/6/2019
1.1.64 1,862 6/4/2019
1.1.63 2,408 5/14/2019
1.1.62 5,493 4/23/2019
1.1.61 2,322 4/9/2019
1.1.60 5,348 3/20/2019
1.1.59 2,045 3/2/2019
1.1.59-alpha2 1,202 3/2/2019
1.1.58 3,128 1/19/2019
1.1.57 2,481 1/4/2019
1.1.56 1,665 1/2/2019
1.1.55 1,748 12/23/2018
1.1.54 2,492 12/13/2018
1.1.53 7,578 11/30/2018
1.1.52 8,429 9/13/2018
1.1.51 1,917 9/10/2018
1.1.50 2,199 9/5/2018
1.1.49 2,704 8/24/2018
1.1.48 2,731 7/27/2018
1.1.47 1,843 7/26/2018
1.1.45 3,885 7/5/2018
1.1.44 2,218 6/25/2018
1.1.43 2,304 6/12/2018
1.1.42 3,634 5/3/2018
1.1.41 4,319 4/16/2018
1.1.40 2,010 4/10/2018
1.1.39 2,173 3/28/2018
1.1.38 4,670 3/14/2018
1.1.37 2,576 3/1/2018
1.1.36 2,658 2/24/2018
1.1.35 2,455 2/16/2018
1.1.34 2,122 2/15/2018
1.1.33 1,996 2/14/2018
1.1.32 2,040 2/13/2018
1.1.31 2,680 2/1/2018
1.1.30 2,020 2/1/2018
1.1.29 2,182 1/25/2018
1.1.28 2,381 1/19/2018
1.1.27 1,925 1/19/2018
1.1.26 2,549 1/12/2018
1.1.26-alpha1 1,590 1/10/2018
1.1.25 2,200 1/10/2018
1.1.24 2,170 1/10/2018
1.1.23 4,732 11/20/2017
1.1.22 2,302 11/9/2017
1.1.21 2,105 11/7/2017
1.1.20 2,128 11/6/2017
1.1.19 2,261 11/1/2017
1.1.18 2,631 10/27/2017
1.1.14 2,405 10/17/2017
1.1.13 2,045 10/17/2017
1.1.12 2,374 10/10/2017
1.1.11 5,308 9/26/2017
1.1.10 3,443 9/22/2017
1.1.8 3,267 9/7/2017
1.1.7 4,380 8/10/2017
1.1.6 2,545 7/19/2017
1.1.5 3,297 7/5/2017
1.1.4 2,731 6/19/2017
1.1.3 3,710 6/2/2017
1.1.2 2,341 5/15/2017
1.1.1 1,834 5/13/2017
1.1.0 1,918 5/10/2017
1.0.57 6,681 5/9/2017
1.0.55 1,831 5/7/2017
1.0.54 2,217 4/26/2017
1.0.53 1,945 4/21/2017
1.0.52 2,275 4/9/2017
1.0.51 1,937 4/6/2017
1.0.50 1,802 4/5/2017
1.0.49 1,815 4/5/2017
1.0.47 2,177 3/18/2017
1.0.46 1,869 3/14/2017
1.0.45 1,793 3/13/2017
1.0.44 1,844 3/12/2017
1.0.43 2,296 2/22/2017
1.0.42 2,845 2/3/2017
1.0.41 2,884 1/11/2017
1.0.40 2,663 12/23/2016
1.0.38 1,790 12/22/2016
1.0.37 4,374 11/8/2016
1.0.36 2,271 10/25/2016
1.0.35 2,436 10/8/2016
1.0.34 2,046 10/3/2016
1.0.33 3,008 9/16/2016
1.0.32 1,960 9/5/2016
1.0.31 2,083 8/27/2016
1.0.29 1,846 8/23/2016
1.0.28 1,835 8/19/2016
1.0.27 1,899 8/18/2016
1.0.26 1,881 8/15/2016
1.0.25 1,892 8/13/2016
1.0.24 1,990 8/5/2016
1.0.23 2,160 8/2/2016
1.0.22 3,477 7/2/2016
1.0.21 1,862 6/29/2016
1.0.20 1,978 6/23/2016
1.0.19 1,847 6/23/2016
1.0.18 1,930 6/21/2016
1.0.17 2,422 6/15/2016
1.0.16 1,987 6/14/2016
1.0.15 2,092 6/13/2016
1.0.13 2,598 6/11/2016
1.0.12 2,083 6/1/2016
1.0.11 1,979 5/31/2016
1.0.10 1,942 5/29/2016
1.0.9 1,813 5/29/2016
1.0.8 1,857 5/27/2016
1.0.7 1,829 5/27/2016
1.0.6 2,272 5/15/2016
1.0.5 1,933 5/9/2016
1.0.4 1,835 5/6/2016
1.0.2 2,271 5/5/2016
1.0.0 2,686 4/16/2016
0.0.11-alpha 3,144 1/2/2016
0.0.9-alpha 4,774 5/21/2014
0.0.8-alpha 1,863 5/20/2014
0.0.7-alpha 1,621 5/17/2014
0.0.6-alpha 1,943 2/12/2014
0.0.5-alpha 1,573 1/29/2014
0.0.3-alpha 1,807 12/24/2013
0.0.2-alpha 1,667 12/16/2013
0.0.1-alpha 1,753 12/15/2013

Reference updates: FSharp.Core to 6.0.7 and SQLClient to 4.8
Minor performance twaks
SQLite better error reporting