22 references to ConnectionString
Aspire.Oracle.EntityFrameworkCore.Tests (22)
AspireOracleEFCoreDatabaseExtensionsTests.cs (22)
26new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)
34Assert.Equal(ConnectionString, context.Database.GetDbConnection().ConnectionString);
45builder.AddOracleDatabaseDbContext<TestDbContext>("orclconnection", settings => settings.ConnectionString = ConnectionString);
51Assert.Equal(ConnectionString, actualConnectionString);
62new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)
71Assert.Equal(ConnectionString, actualConnectionString);
81new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString),
107Assert.Equal(ConnectionString, actualConnectionString);
126new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString),
151Assert.Equal(ConnectionString, actualConnectionString);
166new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString),
200new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString),
238new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString),
250Assert.Equal(ConnectionString, actualConnectionString);
263new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)
268builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseOracle(ConnectionString));
272builder.Services.AddDbContextPool<TestDbContext>(options => options.UseOracle(ConnectionString));
286new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)
291builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseOracle(ConnectionString));
295builder.Services.AddDbContextPool<TestDbContext>(options => options.UseOracle(ConnectionString));
308new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)
324new KeyValuePair<string, string?>("ConnectionStrings:orclconnection", ConnectionString)