SQL data access

In F#, there are multiple libraries for SQL data access. We can browse them in NuGet; a few of them are discussed as follows:

  • FSharp.Data.SqlClient: This library provides SqlCommandProvider, which gives type safe access to transactional SQL languages. SqlProgrammabilityProvider provides quick access to a SQL server stored procedure (SP), tables, and functions, and SqlEnumProvider generates an enum type on the ground of static lookup data from an ADO.NET-compliant source. To install the FSharp.Data.SqlClient library from NuGet, use the following command:
PM> Install-Package FSharp.Data.SqlClient
  • FSharp.Data.SQLProvider: SQLProvider is a general .NET/Mono SQL database provider. This library supports automatic constraint navigation, ...

Get .NET Core 2.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.