Search code examples
f#odatatype-providers

ODataService Type Provider still exist?


I'm looking now at F# Type Providers.

Particularity at ODataService Type Provider.

This is a snippet, how to use it.

But looks like fsharp.data doesn't have it anymore.

And when I try to use it, compiler gives me error:

enter image description here

So we don't have ODataService Type Provider anymore?


Solution

  • FSharp.Data is a different project than FSharp.Data.TypeProviders. You need to be using the FSharp.Data.TypeProviders NuGet package, and then it should work.