Skip to content

Commit ffb6fc5

Browse files
committed
move to Microsoft.Data.SqlClient
1 parent 50a9c38 commit ffb6fc5

35 files changed

Lines changed: 938 additions & 192 deletions

build/build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Target.create "Build" (fun _ ->
127127
|> dnDefault)
128128
slnPath)
129129

130-
open System.Data.SqlClient
130+
open Microsoft.Data.SqlClient
131131
open System.IO.Compression
132132
open Fake.DotNet.Testing
133133

build/paket.references

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Fake.Tools.Git
1515
FSharp.Core
1616
FSharp.Formatting
1717
NuGet.CommandLine
18-
System.Data.SqlClient
18+
Microsoft.Data.SqlClient
1919
System.Configuration.ConfigurationManager

paket.dependencies

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ group Build
2424
nuget FSharp.Compiler.Service 43.8.301
2525

2626
nuget NuGet.CommandLine
27-
nuget System.Data.SqlClient
27+
nuget Microsoft.Data.SqlClient
2828

2929
nuget System.Configuration.ConfigurationManager
3030

@@ -44,7 +44,7 @@ group DesignTime
4444

4545
nuget System.Configuration.ConfigurationManager 9.0.4
4646
nuget System.Data.Common
47-
nuget System.Data.SqlClient
47+
nuget Microsoft.Data.SqlClient
4848
nuget System.Runtime.Caching
4949
nuget FSharp.Core 8.0.301
5050
nuget Microsoft.SqlServer.TransactSql.ScriptDom
@@ -54,7 +54,7 @@ group Test
5454
source https://www.nuget.org/api/v2/
5555

5656
nuget FSharp.Core redirects:force
57-
nuget System.Data.SqlClient
57+
nuget Microsoft.Data.SqlClient
5858
nuget System.Configuration.ConfigurationManager
5959

6060
nuget Microsoft.SqlServer.Types ~> 12
@@ -69,7 +69,7 @@ group TestProjects
6969

7070
nuget FSharp.Core = 8.0.301
7171

72-
nuget System.Data.SqlClient
72+
nuget Microsoft.Data.SqlClient
7373
nuget System.Configuration.ConfigurationManager
7474

7575
group Samples
@@ -78,6 +78,6 @@ group Samples
7878
storage: none
7979

8080
nuget FSharp.Core = 8.0.301
81-
nuget System.Data.SqlClient
81+
nuget Microsoft.Data.SqlClient
8282
nuget System.Configuration.ConfigurationManager
8383
nuget FSharp.Data.SqlClient

paket.lock

Lines changed: 877 additions & 108 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Auto-Generated by FAKE; do not edit
22
namespace System
3-
43
open System.Reflection
54
open System.Runtime.CompilerServices
65

@@ -13,20 +12,9 @@ open System.Runtime.CompilerServices
1312
do ()
1413

1514
module internal AssemblyVersionInformation =
16-
[<Literal>]
17-
let AssemblyTitle = "SqlClient.DesignTime"
18-
19-
[<Literal>]
20-
let AssemblyProduct = "FSharp.Data.SqlClient.DesignTime"
21-
22-
[<Literal>]
23-
let AssemblyDescription = "SqlClient F# type providers"
24-
25-
[<Literal>]
26-
let AssemblyVersion = "3.0.0"
27-
28-
[<Literal>]
29-
let AssemblyFileVersion = "3.0.0"
30-
31-
[<Literal>]
32-
let InternalsVisibleTo = "SqlClient.Tests"
15+
let [<Literal>] AssemblyTitle = "SqlClient.DesignTime"
16+
let [<Literal>] AssemblyProduct = "FSharp.Data.SqlClient.DesignTime"
17+
let [<Literal>] AssemblyDescription = "SqlClient F# type providers"
18+
let [<Literal>] AssemblyVersion = "3.0.0"
19+
let [<Literal>] AssemblyFileVersion = "3.0.0"
20+
let [<Literal>] InternalsVisibleTo = "SqlClient.Tests"

src/SqlClient.DesignTime/DesignTime.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
open System
44
open System.Reflection
55
open System.Data
6-
open System.Data.SqlClient
7-
open Microsoft.SqlServer.Server
6+
open Microsoft.Data.SqlClient
7+
open Microsoft.Data.SqlClient.Server
88
open System.Collections.Generic
99
open System.Diagnostics
1010
open Microsoft.FSharp.Quotations
@@ -764,7 +764,7 @@ type DesignTime private () =
764764
//done via reflection because not implemented on Mono
765765
let sqlDataRecordType =
766766
typeof<SqlCommand>.Assembly
767-
.GetType("Microsoft.SqlServer.Server.SqlDataRecord", throwOnError = true)
767+
.GetType("Microsoft.Data.SqlClient.Server.SqlDataRecord", throwOnError = true)
768768

769769
let record =
770770
Activator.CreateInstance(

src/SqlClient.DesignTime/DesignTimeConnectionString.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type internal DesignTimeConnectionString =
6868
| _, Lazy x ->
6969
let providerName =
7070
if String.IsNullOrEmpty x.ProviderName then
71-
"System.Data.SqlClient"
71+
"Microsoft.Data.SqlClient"
7272
else
7373
x.ProviderName
7474

src/SqlClient.DesignTime/QuotationsFactory.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
open System
44
open System.Data
5-
open System.Data.SqlClient
5+
open Microsoft.Data.SqlClient
66
open System.Reflection
77
open System.Collections
88
open System.Diagnostics

src/SqlClient.DesignTime/SqlClientExtensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ open System.Data
66
open System.Collections.Generic
77
open System.IO
88
open System.Threading.Tasks
9-
open System.Data.SqlClient
9+
open Microsoft.Data.SqlClient
1010
open FSharp.Data.SqlClient.Internals
1111
open System.Diagnostics
1212

src/SqlClient.DesignTime/SqlClientProvider.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
open System
44
open System.Collections.Generic
55
open System.Data
6-
open System.Data.SqlClient
6+
open Microsoft.Data.SqlClient
77
open System.Diagnostics
88
open System.IO
99
open System.Reflection

0 commit comments

Comments
 (0)