GetConnectionString returns null
Posted: Thu 06 Sep 2018 07:58
I'm using "Use the connection string from appsettings.json" option in Model settings because i dont want to insert the licence key after every generation.
But after simple generation of DBContext
optionsBuilder.UseOracle(GetConnectionString("npsModelConnectionString"));
returns "null".
It's a simple new solution after generating. No source edited. Just generated and started.
How can i solve this?
Regards
Thomas
But after simple generation of DBContext
optionsBuilder.UseOracle(GetConnectionString("npsModelConnectionString"));
returns "null".
It's a simple new solution after generating. No source edited. Just generated and started.
How can i solve this?
Regards
Thomas