13 references to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (13)
AspireAzureEfCoreCosmosDBExtensionsTests.cs (13)
23new KeyValuePair<string, string?>("ConnectionStrings:cosmosConnection", ConnectionString),
29optionsBuilder.UseCosmos(ConnectionString, "databaseName", cosmosBuilder =>
59new KeyValuePair<string, string?>("ConnectionStrings:cosmosConnection", ConnectionString),
69configureDbContextOptions: optionsBuilder => optionsBuilder.UseCosmos(ConnectionString, "databaseName"),
93new KeyValuePair<string, string?>("ConnectionStrings:cosmosConnection", ConnectionString),
105optionsBuilder.UseCosmos(ConnectionString, "databaseName", cosmosBuilder =>
136new KeyValuePair<string, string?>("ConnectionStrings:cosmos", ConnectionString),
161new KeyValuePair<string, string?>("ConnectionStrings:cosmos", ConnectionString)
166builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseCosmos(ConnectionString, "databaseName"));
170builder.Services.AddDbContextPool<TestDbContext>(options => options.UseCosmos(ConnectionString, "databaseName"));
184new KeyValuePair<string, string?>("ConnectionStrings:cosmos", ConnectionString)
189builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseCosmos(ConnectionString, "databaseName"));
193builder.Services.AddDbContextPool<TestDbContext>(options => options.UseCosmos(ConnectionString, "databaseName"));