{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"BookStore1Context":
"Server=localhost\\XQLEXPRESS03;
Database=BookStore1Context;
User ID=wenchen;
Password=database;
Encrypt=False;
Trusted_Connection=True;
MultipleActiveResultSets=true"
}
}
By default, the scaffolding process makes it point to the SQL Server Express local DB.
Go to the located at
⇒ ⇒
Add-Migration BookStore1.Data.BookStore1Context
|
“‘What’s a couple?’ I asked my mum. She said, ‘Two or three’. Which probably explains why her marriage collapsed.” — Josie Long |