Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    r30a465f rf33b0d4  
    11using Microsoft.AspNetCore.Builder;
    22using Microsoft.AspNetCore.Hosting;
    3 using Microsoft.AspNetCore.HttpsPolicy;
    43using Microsoft.AspNetCore.SpaServices.AngularCli;
    54using Microsoft.Extensions.Configuration;
     
    3029            });
    3130            var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("FarmatikoConnection");
    32             services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => opt.UseNpgsql(connectionString));
     31
     32            services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => {
     33                opt.UseNpgsql(connectionString);
     34            });
    3335
    3436        }
Note: See TracChangeset for help on using the changeset viewer.