You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,28 @@
2
2
3
3
This library exposes SQL Server Database objects in a type safe manner to F# code, by the mean of [Type Providers](https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/)
4
4
5
+
You can reference it in F# Interactive that ships with Visual Studio
6
+
```fsharp
7
+
#r "nuget: FSharp.Data.SqlClient"
8
+
open FSharp.Data
9
+
open FSharp.Data.SqlClient
10
+
let [<Literal>] connectionString = "Server=.;Database=AdventureWorks2012;Trusted_Connection=True;"
11
+
type MyCommand = SqlCommandProvider<"""
12
+
select
13
+
data.a
14
+
from
15
+
(select 1 a union all select 2 union all select 3) data
0 commit comments