fsprojects/SQLProvider
fsprojects/SQLProvider has 627 GitHub stars and 149 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-09 04:13 UTC. Last push 2026-11-02.
A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalSQLProvider 
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 
- 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

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 | |
| PostgreSQL | SQLProvider.PostgreSql | FSharp.Data.Sql.PostgreSql.SqlDataProvider | |
| MySQL and MariaDB | SQLProvider.MySqlConnector | FSharp.Data.Sql.MySqlConnector.SqlDataProvider | |
| MySQL | SQLProvider.MySql | FSharp.Data.Sql.MySql.SqlDataProvider | |
| Oracle | SQLProvider.Oracle | FSharp.Data.Sql.Oracle.SqlDataProvider | |
| Any ODBC connection | SQLProvider.Odbc | FSharp.Data.Sql.Odbc.SqlDataProvider | |
| SQLite | SQLProvider.SQLite | FSharp.Data.Sql.SQLite.SqlDataProvider | |
| Microsoft Access | SQLProvider.MsAccess | FSharp.Data.Sql.MsAccess.SqlDataProvider | |
| Firebird | SQLProvider.Firebird | FSharp.Data.Sql.Firebird.SqlDataProvider | |
| DuckDb | SQLProvider.DuckDb | FSharp.Data.Sql.DuckDb.SqlDataProvider | |
| General, all via manual config | SQLProvider | FSharp.Data.Sql.SqlDataProvider |
Depending on the used provider, the namespace of the SqlDataProvider type class varies as above.
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,763 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,309 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,453 stars