2 writes to ConnectionString
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (2)
ConformanceTests.cs (2)
82
ConnectionString
= (_containerFixture is not null && RequiresDockerAttribute.IsSupported)
141
=> test(new ConformanceTests(null) {
ConnectionString
= connectionString });
16 references to ConnectionString
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (16)
ConformanceTests.cs (2)
90
new("Aspire:Npgsql:EntityFrameworkCore:PostgreSQL:ConnectionString",
ConnectionString
)
138
ConnectionString
).Dispose();
ConformanceTests_TypeSpecificConfig.cs (1)
19
new($"Aspire:Npgsql:EntityFrameworkCore:PostgreSQL:{typeof(TestDbContext).Name}:ConnectionString",
ConnectionString
)
EnrichNpgsqlTests.cs (13)
28
builder.Services.AddDbContextPool<TestDbContext>(options => options.UseNpgsql(
ConnectionString
));
46
builder.Services.AddDbContext<TestDbContext>(options => options.UseNpgsql(
ConnectionString
));
67
optionsBuilder.UseNpgsql(
ConnectionString
, npgsqlBuilder =>
103
optionsBuilder.UseNpgsql(
ConnectionString
, npgsqlBuilder =>
124
optionsBuilder.UseNpgsql(
ConnectionString
);
160
optionsBuilder.UseNpgsql(
ConnectionString
, npgsqlBuilder =>
204
optionsBuilder.UseNpgsql(
ConnectionString
, npgsqlBuilder =>
240
optionsBuilder.UseNpgsql(
ConnectionString
);
258
optionsBuilder.UseNpgsql(
ConnectionString
);
280
optionsBuilder.UseNpgsql(
ConnectionString
, npgsql => npgsql.ExecutionStrategy(c => new CustomExecutionStrategy(c)));
309
optionsBuilder.UseNpgsql(
ConnectionString
, npgsql => npgsql.ExecutionStrategy(c => new CustomExecutionStrategy(c)));
327
optionsBuilder.UseNpgsql(
ConnectionString
, npgsql => npgsql.ExecutionStrategy(c => new CustomRetryExecutionStrategy(c)));
360
optionsBuilder.UseNpgsql(
ConnectionString
);