Skip to content

Commit ed77740

Browse files
committed
Update README.md
1 parent 755c0a9 commit ed77740

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/sql-server/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,13 @@ Copy the path to the version of SQL Server Configuration Manager you have instal
232232
</ItemGroup>
233233

234234
<ItemGroup>
235-
<PackageReference Version="5.1.1" Include="Microsoft.Data.SqlClient" />
236-
<PackageReference Version="8.0.0"
237-
Include="Microsoft.EntityFrameworkCore.SqlServer" />
235+
<PackageReference Version="5.2.0" Include="Microsoft.Data.SqlClient" />
236+
<PackageReference Version="8.0.4" Include="Microsoft.EntityFrameworkCore.SqlServer" />
238237
</ItemGroup>
239238
```
240239

240+
> You can check for the most recent package versions at the following links: https://www.nuget.org/packages/Microsoft.Data.SqlClient#versions-body-tab and https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/#versions-body-tab.
241+
241242
2. Build the `WorkingWithEFCore` project to restore packages.
242243
3. Add a new class file named `NorthwindDb.cs`.
243244
4. In `NorthwindDb.cs`, define a class named `NorthwindDb`, import the main namespace for EF Core, make the class inherit from `DbContext`, and in an `OnConfiguring` method, configure the options builder to use SQL Server, as shown in the following code:

0 commit comments

Comments
 (0)