2 writes to ConnectionString
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (2)
ConformanceTests.cs (2)
82ConnectionString = (_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)
90new("Aspire:Npgsql:EntityFrameworkCore:PostgreSQL:ConnectionString", ConnectionString) 138ConnectionString).Dispose();
ConformanceTests_TypeSpecificConfig.cs (1)
19new($"Aspire:Npgsql:EntityFrameworkCore:PostgreSQL:{typeof(TestDbContext).Name}:ConnectionString", ConnectionString)
EnrichNpgsqlTests.cs (13)
28builder.Services.AddDbContextPool<TestDbContext>(options => options.UseNpgsql(ConnectionString)); 46builder.Services.AddDbContext<TestDbContext>(options => options.UseNpgsql(ConnectionString)); 67optionsBuilder.UseNpgsql(ConnectionString, npgsqlBuilder => 103optionsBuilder.UseNpgsql(ConnectionString, npgsqlBuilder => 124optionsBuilder.UseNpgsql(ConnectionString); 160optionsBuilder.UseNpgsql(ConnectionString, npgsqlBuilder => 204optionsBuilder.UseNpgsql(ConnectionString, npgsqlBuilder => 240optionsBuilder.UseNpgsql(ConnectionString); 258optionsBuilder.UseNpgsql(ConnectionString); 280optionsBuilder.UseNpgsql(ConnectionString, npgsql => npgsql.ExecutionStrategy(c => new CustomExecutionStrategy(c))); 309optionsBuilder.UseNpgsql(ConnectionString, npgsql => npgsql.ExecutionStrategy(c => new CustomExecutionStrategy(c))); 327optionsBuilder.UseNpgsql(ConnectionString, npgsql => npgsql.ExecutionStrategy(c => new CustomRetryExecutionStrategy(c))); 360optionsBuilder.UseNpgsql(ConnectionString);