2 writes to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (2)
ConformanceTests.cs (2)
68ConnectionString = (_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)
76new ("Aspire:Microsoft:EntityFrameworkCore:SqlServer:ConnectionString", ConnectionString) 121ConnectionString).Dispose();
ConformanceTests_TypeSpecificConfig.cs (1)
20new($"Aspire:Microsoft:EntityFrameworkCore:SqlServer:{typeof(TestDbContext).Name}:ConnectionString", ConnectionString)
EnrichSqlServerTests.cs (12)
27builder.Services.AddDbContextPool<TestDbContext>(options => options.UseSqlServer(ConnectionString)); 45builder.Services.AddDbContext<TestDbContext>(options => options.UseSqlServer(ConnectionString)); 65optionsBuilder.UseSqlServer(ConnectionString, builder => 100optionsBuilder.UseSqlServer(ConnectionString, builder => 120optionsBuilder.UseSqlServer(ConnectionString); 155optionsBuilder.UseSqlServer(ConnectionString, builder => 198optionsBuilder.UseSqlServer(ConnectionString, builder => 232optionsBuilder.UseSqlServer(ConnectionString); 249optionsBuilder.UseSqlServer(ConnectionString); 270optionsBuilder.UseSqlServer(ConnectionString, builder => builder.ExecutionStrategy(c => new CustomExecutionStrategy(c))); 298optionsBuilder.UseSqlServer(ConnectionString, builder => builder.ExecutionStrategy(c => new CustomExecutionStrategy(c))); 315optionsBuilder.UseSqlServer(ConnectionString, builder => builder.ExecutionStrategy(c => new CustomRetryExecutionStrategy(c)));