Search code examples
entity-frameworkf#f#-3.0type-providers

Type Provider for Entity Framework


Would it be possible to create a type provider in F# 3.0 for Entity Framework, so that I can get neat IntelliSense like with the SqlDataConnection (included in Microsoft.FSharp.Data.TypeProviders) but with EF under the hood?


Solution

  • They already provide two Entity Framework type providers out of the box. The EdmxFile type provider for disconnected EDMX files, and the SqlEntityConnection type provider for live database connections (the latter being akin to the SqlDataConnection type provider).