|
|
|
|
45
|
services.AddTransient<LuUtilsPkGuidDataAccess>();
|
45
|
services.AddTransient<LuUtilsPkGuidDataAccess>();
|
46
|
services.AddDbContext<LuUtilsDbContext>(options =>
|
46
|
services.AddDbContext<LuUtilsDbContext>(options =>
|
47
|
{
|
47
|
{
|
48
|
- options.UseNpgsql(Tests.ConnectionString);
|
|
|
|
|
48
|
+ options.UseNpgsql(Configuration.GetConnectionString("default"));
|
49
|
options.UseInternalServiceProvider(new ServiceCollection()
|
49
|
options.UseInternalServiceProvider(new ServiceCollection()
|
50
|
.AddEntityFrameworkNpgsqlLuticate()
|
50
|
.AddEntityFrameworkNpgsqlLuticate()
|
51
|
.AddEntityFrameworkNpgsql()
|
51
|
.AddEntityFrameworkNpgsql()
|