SQLProvider 1.5.25
dotnet add package SQLProvider --version 1.5.25
NuGet\Install-Package SQLProvider -Version 1.5.25
<PackageReference Include="SQLProvider" Version="1.5.25" />
<PackageVersion Include="SQLProvider" Version="1.5.25" />Directory.Packages.props
<PackageReference Include="SQLProvider" />Project file
paket add SQLProvider --version 1.5.25
#r "nuget: SQLProvider, 1.5.25"
#:package SQLProvider@1.5.25
#addin nuget:?package=SQLProvider&version=1.5.25Install as a Cake Addin
#tool nuget:?package=SQLProvider&version=1.5.25Install as a Cake Tool
SQLProvider NuGet Status
Join the chat at https://gitter.im/fsprojects/SQLProvider
A general .NET 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
- DuckDB
There is also an ODBC provider that will let you connect to any ODBC source with limited features.
Documentation
SQLProvider home page contains the core documentation and samples. This documentation originates from docs/content/, so please feel free to submit a pull request if you fix typos or add additional samples and documentation!
Building Build status
- Linux/macOS: Run build.sh
- Windows: Run build.cmd
(Note: both scripts above use the dotnet command underneath; if you need to build
with .NETFramework v4.x or Mono, rename the '.paket_netfx' to '.paket' first, before
restoring & building manually with paket and msbuild.)
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)
Nuget Packages
| Database | Nuget Package | TypeProvider Class | NuGet Status |
|---|---|---|---|
| Microsoft SQL Server | SQLProvider.MsSql | FSharp.Data.Sql.MsSql.SqlDataProvider | Nuget Nuget |
| PostgreSQL | SQLProvider.PostgreSql | FSharp.Data.Sql.PostgreSql.SqlDataProvider | Nuget Nuget |
| MySQL and MariaDB | SQLProvider.MySqlConnector | FSharp.Data.Sql.MySqlConnector.SqlDataProvider | Nuget Nuget |
| MySQL | SQLProvider.MySql | FSharp.Data.Sql.MySql.SqlDataProvider | Nuget Nuget |
| Oracle | SQLProvider.Oracle | FSharp.Data.Sql.Oracle.SqlDataProvider | Nuget Nuget |
| Any ODBC connection | SQLProvider.Odbc | FSharp.Data.Sql.Odbc.SqlDataProvider | Nuget Nuget |
| SQLite | SQLProvider.SQLite | FSharp.Data.Sql.SQLite.SqlDataProvider | Nuget Nuget |
| Microsoft Access | SQLProvider.MsAccess | FSharp.Data.Sql.MsAccess.SqlDataProvider | Nuget Nuget |
| Firebird | SQLProvider.Firebird | FSharp.Data.Sql.Firebird.SqlDataProvider | Nuget Nuget |
| DuckDb | SQLProvider.DuckDb | FSharp.Data.Sql.DuckDb.SqlDataProvider | Nuget Nuget |
| General, all via manual config | SQLProvider | FSharp.Data.Sql.SqlDataProvider | Nuget Nuget |
Depending on the used provider, the namespace of the SqlDataProvider type class varies as above.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 is compatible. 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 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 is compatible. 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. |
-
- FSharp.Core (>= 8.0.301)
- Newtonsoft.Json (>= 13.0.1)
- System.Memory (>= 4.6.3)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on SQLProvider:
| Package | Downloads |
|---|---|
|
Softellect.Sys
Softellect Sys Library provides primitive types and functionality needed by other Softellect packages. |
|
|
Softellect.Messaging
Softellect Messaging Library provides a simple general framework to exchange large messages without specific IO. |
|
|
FCQRS.SqlProvider
Package Description |
|
|
Softellect.DistributedProcessing.Core
Softellect WorkerNode ... |
|
|
FCQRS8.SQLProvider
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.25 | 0 | 7/3/2026 |
| 1.5.24 | 230 | 6/14/2026 |
| 1.5.23 | 109 | 6/13/2026 |
| 1.5.22 | 116 | 6/11/2026 |
| 1.5.21 | 174 | 5/28/2026 |
| 1.5.20 | 125 | 5/26/2026 |
| 1.5.19 | 436 | 4/7/2026 |
| 1.5.18 | 178 | 3/31/2026 |
| 1.5.17 | 4,253 | 9/14/2025 |
| 1.5.16 | 805 | 9/9/2025 |
| 1.5.14 | 418 | 8/29/2025 |
| 1.5.12 | 1,412 | 7/21/2025 |
| 1.5.11 | 534 | 6/24/2025 |
| 1.5.10 | 341 | 6/19/2025 |
| 1.5.9 | 483 | 6/5/2025 |
| 1.5.8 | 319 | 6/4/2025 |
| 1.5.7 | 655 | 5/13/2025 |
| 1.5.6 | 322 | 5/6/2025 |
| 1.5.5 | 318 | 5/5/2025 |
leftOuterJoin: groupBy after a left outer join is now supported (SQL semantics: COUNT counts the unmatched NULL row)
groupJoin: `groupJoin ... into g` + `for x in g do` now works (inner join semantics); aggregating the group (e.g. `g.Count()`) fails with a clear message instead of returning wrong results
leftOuterJoin detection is now gated on the GroupJoin operator and the LINQ DefaultIfEmpty method, so an unrelated `DefaultIfEmpty` call in a projection can no longer turn an inner join into a left outer join
Unmatched left-join rows no longer construct a throwaway entity during materialisation