- Timestamp:
- 07/20/20 18:58:23 (4 years ago)
- Branches:
- master
- Children:
- 0c48bbb
- Parents:
- 171f106
- Location:
- Farmatiko
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/Startup.cs
r171f106 rf33b0d4 29 29 }); 30 30 var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("FarmatikoConnection"); 31 services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => opt.UseNpgsql(connectionString)); 31 32 services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => { 33 opt.UseNpgsql(connectionString); 34 }); 32 35 33 36 } -
Farmatiko/appsettings.json
r171f106 rf33b0d4 1 1 { 2 2 "ConnectionStrings": { 3 "FarmatikoConnection": " User ID=postgres;Password=@@Farmatiko@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;"3 "FarmatikoConnection": "Host=localhost;User ID=postgres;Password=@@Postgres@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;" 4 4 }, 5 5 "Logging": {
Note:
See TracChangeset
for help on using the changeset viewer.