mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-06 06:43:47 +00:00
Update command-lines.md
This commit is contained in:
parent
060b9787d9
commit
1db647870d
1 changed files with 3 additions and 1 deletions
|
|
@ -312,9 +312,11 @@ dotnet ef dbcontext scaffold "Filename=../Northwind.db" Microsoft.EntityFramewor
|
|||
|
||||
Creating the EF Core model for the Northwind database:
|
||||
```
|
||||
dotnet ef dbcontext scaffold "Data Source=.;Initial Catalog=Northwind;Integrated Security=true;" Microsoft.EntityFrameworkCore.SqlServer --namespace Packt.Shared --data-annotations
|
||||
dotnet ef dbcontext scaffold "Data Source=.;Initial Catalog=Northwind;Integrated Security=true;TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer --namespace Packt.Shared --data-annotations
|
||||
```
|
||||
|
||||
> If you do not have a "full" edition of SQL Server installed with a default instance then you will need to changed the `.` to the correct `servername\instancename`.
|
||||
|
||||
# Chapter 13 - Building Websites Using ASP.NET Core Razor Pages
|
||||
|
||||
## Page 564 - Testing and securing the website
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue