commented
This commit is contained in:
parent
12a94e9e70
commit
29b067f1f4
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ namespace cli
|
||||||
DefaultClassName = settings.ControllerName,
|
DefaultClassName = settings.ControllerName,
|
||||||
DefaultNamespace = settings.NameSpace }; }
|
DefaultNamespace = settings.NameSpace }; }
|
||||||
);
|
);
|
||||||
|
// Well ... I'll perhaps have, one day, enough trust to use it ...
|
||||||
services.AddTransient(typeof(MvcGenerator), typeof(MvcGenerator));
|
services.AddTransient(typeof(MvcGenerator), typeof(MvcGenerator));
|
||||||
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>(
|
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>(
|
||||||
db => db.UseNpgsql(ConnectionString)
|
db => db.UseNpgsql(ConnectionString)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue