PI06 i PI06-1. Docker definitions for MSSQL and Postgres. Data seeder/generator for countries and people. Entity Framework example with variants for Postgres and MSSQL
This commit is contained in:
16
DataAccess/EF_Demo/appsettings.json
Normal file
16
DataAccess/EF_Demo/appsettings.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"EventsMssql": "Data Source=.,3030;Initial Catalog=Events;use-secrets.json-to-set-username-and-password;TrustServerCertificate=True",
|
||||
"EventsPostgres": "Host=localhost;Database=events;use-secrets.json-to-set-username-and-password;Persist Security Info=True"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Warning",
|
||||
"System": "Error",
|
||||
"Microsoft": "Error",
|
||||
"Microsoft.EntityFrameworkCore.Database.Command": "Information",
|
||||
"EF_Demo.Demo": "Information"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user