The F# Type Providers SqlDataConnection, SqlEntityConnection, ODataService, WsdlService, DbmlFile and EdmxFile using .NET Framework generators.

The FSharp.Data.TypeProviders library can be installed from NuGet:
PM> Install-Package FSharp.Data.TypeProviders

NOTE: Use FSharp.Data.TypeProviders instead of Microsoft.FSharp.Data.TypeProviders

This component contains the following F# type providers:

  • EdmxFile - Provides the types to access a database with the schema in an .edmx file, using a LINQ to Entities mapping.

  • ODataService - Provides the types to access an OData service.

  • SqlDataConnection - Provides the types to access a SQL database.

  • SqlEntityConnection - Provides the types to access a database, using a LINQ to Entities mapping.

  • WsdlService - Provides the types for a Web Services Description Language (WSDL) web service.

  • DbmlFile - Provides the types for a database schema encoded in a .dbml file.


This component is shipped in the Visual F# Tools for Visual Studio 2012-2015 at version
This repository implemented versions and above. The proposal is that subsequent versions and development will happen as an F# community component.

Referencing the library

Reference the library as shown below.

#r "FSharp.Data.TypeProviders.dll"
open FSharp.Data.TypeProviders

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.

The library is available under the Apache 2.0 license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.

Multiple items
namespace FSharp

namespace Microsoft.FSharp
Multiple items
namespace FSharp.Data

namespace Microsoft.FSharp.Data
namespace FSharp.Data.TypeProviders
Fork me on GitHub