2 writes to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (2)
ConformanceTests.cs (2)
68
ConnectionString
= (_containerFixture is not null && RequiresDockerAttribute.IsSupported)
124
=> test(new ConformanceTests(null) {
ConnectionString
= connectionString });
15 references to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (15)
ConformanceTests.cs (2)
76
new ("Aspire:Microsoft:EntityFrameworkCore:SqlServer:ConnectionString",
ConnectionString
)
121
ConnectionString
).Dispose();
ConformanceTests_TypeSpecificConfig.cs (1)
20
new($"Aspire:Microsoft:EntityFrameworkCore:SqlServer:{typeof(TestDbContext).Name}:ConnectionString",
ConnectionString
)
EnrichSqlServerTests.cs (12)
27
builder.Services.AddDbContextPool<TestDbContext>(options => options.UseSqlServer(
ConnectionString
));
45
builder.Services.AddDbContext<TestDbContext>(options => options.UseSqlServer(
ConnectionString
));
65
optionsBuilder.UseSqlServer(
ConnectionString
, builder =>
100
optionsBuilder.UseSqlServer(
ConnectionString
, builder =>
120
optionsBuilder.UseSqlServer(
ConnectionString
);
155
optionsBuilder.UseSqlServer(
ConnectionString
, builder =>
198
optionsBuilder.UseSqlServer(
ConnectionString
, builder =>
232
optionsBuilder.UseSqlServer(
ConnectionString
);
249
optionsBuilder.UseSqlServer(
ConnectionString
);
270
optionsBuilder.UseSqlServer(
ConnectionString
, builder => builder.ExecutionStrategy(c => new CustomExecutionStrategy(c)));
298
optionsBuilder.UseSqlServer(
ConnectionString
, builder => builder.ExecutionStrategy(c => new CustomExecutionStrategy(c)));
315
optionsBuilder.UseSqlServer(
ConnectionString
, builder => builder.ExecutionStrategy(c => new CustomRetryExecutionStrategy(c)));