dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.28k stars 5.91k forks source link

F# Query Expressions example: System.Data.Linq does not exist for net5.0 #23278

Open kurt-mueller-osumc opened 3 years ago

kurt-mueller-osumc commented 3 years ago

The example provided utilizes these namespaces:

open System
open Microsoft.FSharp.Data.TypeProviders
open System.Data.Linq.SqlClient
open System.Linq

Unfortunately, System.Data.Linq does not exist on net5.0.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cartermp commented 3 years ago

Yeah, ugh. This whole document likely needs a rewrite here. I don't think the examples are very good to show now. It won't be terribly easy though, since it would require contriving up some new samples. Maybe something with #r "nuget:..." on SqlProvider?