Skip to content

Commit 2aa1be1

Browse files
committed
Working dependencies
1 parent 1109a74 commit 2aa1be1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/recipes/storage/use-sqlprovider-ssdt.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,14 @@ Next, we will use Azure Data Studio with the "SQL Database Projects" extension t
7171
## Create a TodoRepository Using the new SSDT provider in SQLProvider
7272

7373
### Installing SQLProvider from NuGet
74-
- Add the following lines to the `paket.dependencies` in the solution root:
75-
```
76-
nuget SQLProvider
77-
nuget System.Data.SqlClient
78-
```
79-
- Add the following lines to `paket.references` in the src/Server folder:
74+
75+
Install dependencies `SqlProvider` and `Microsoft.Data.SqlClient`
76+
8077
```
81-
System.Data.SqlClient
82-
SQLProvider
78+
dotnet paket add SqlProvider -p Server
79+
dotnet paket add Microsoft.Data.SqlClient -p Server
8380
```
81+
8482
### Initialize Type Provider
8583
Next, we will wire up our type provider to generate database types based on the compiled .dacpac file.
8684

@@ -229,4 +227,4 @@ let SsdtPath = __SOURCE_DIRECTORY__ + @"/../../ssdt/SafeTodoDB/bin/Release/SafeT
229227
#endif
230228
```
231229

232-
NOTE: This assumes that your SSDT .sqlproj will be built in Release mode (you can build it manually, or use a FAKE build script to handle this).
230+
NOTE: This assumes that your SSDT .sqlproj will be built in Release mode (you can build it manually, or use a FAKE build script to handle this).

0 commit comments

Comments
 (0)