F# type providers for statically typed, compile-time checked access to Microsoft SQL Server databases.
FSharp.Data.SqlClient is a set of F# type providers that enable statically typed, compile-time checked access to Microsoft SQL Server databases. It allows developers to write SQL queries and interact with database objects with full type safety, catching errors during compilation rather than at runtime. The library provides type providers for SQL commands, programmability objects, enums, and external SQL files.
F# developers working with Microsoft SQL Server who want type-safe database access and compile-time validation of their SQL queries and database interactions.
Developers choose FSharp.Data.SqlClient because it eliminates common runtime SQL errors through compile-time validation, provides idiomatic F# APIs for database operations, and leverages F#'s powerful type provider system for a seamless development experience.
A set of F# Type Providers for statically typed access to MS SQL database
Catches SQL syntax errors, parameter type mismatches, and missing database objects during compilation, as shown in SqlCommandProvider examples where invalid queries fail at compile time.
Exposes tables, stored procedures, UDTs, and functions directly in F# code via SqlProgrammabilityProvider, ensuring schema consistency and eliminating runtime errors from changes.
Provides natural F# APIs with sequence support and null handling using option types, as seen in examples with match expressions for optional values.
Allows SQL commands to be stored in separate .sql files using SqlFileProvider, maintaining type safety while improving code organization and reuse.
Only supports Microsoft SQL Server, making it unsuitable for multi-database or cross-platform projects without significant workarounds.
The README explicitly states 'dotnet fsi is not supported yet,' hindering interactive development and quick prototyping in REPL environments.
Requires familiarity with F#'s type provider mechanism, which can be complex for developers new to F# or accustomed to traditional ORMs like Entity Framework.
F# Data: Library for Data Access
Statically typechecks a common SQL dialect and translates it to various RDBMS backends
A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
F# generative Type Provider for Swagger
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.