commented

vnext
Paul Schneider 5 years ago
parent 982e2620c1
commit e8949bdee4
1 changed files with 1 additions and 0 deletions

@ -85,6 +85,7 @@ namespace cli
DefaultClassName = settings.ControllerName,
DefaultNamespace = settings.NameSpace }; }
);
// Well ... I'll perhaps have, one day, enough trust to use it ...
services.AddTransient(typeof(MvcGenerator), typeof(MvcGenerator));
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>(
db => db.UseNpgsql(ConnectionString)

Loading…