18 references to AddOracleDatabaseDbContext
Aspire.Hosting.Oracle.Tests (4)
OracleFunctionalTests.cs (4)
54
hb.
AddOracleDatabaseDbContext
<TestDbContext>(db.Resource.Name);
137
hb.
AddOracleDatabaseDbContext
<TestDbContext>(db1.Resource.Name);
198
hb.
AddOracleDatabaseDbContext
<TestDbContext>(db2.Resource.Name);
312
hb.
AddOracleDatabaseDbContext
<TestDbContext>(db.Resource.Name);
Aspire.Oracle.EntityFrameworkCore.Tests (14)
AspireOracleEFCoreDatabaseExtensionsTests.cs (13)
29
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection");
45
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", settings => settings.ConnectionString = ConnectionString);
65
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection");
86
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", configureDbContextOptions: optionsBuilder =>
130
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", configureDbContextOptions: optionsBuilder =>
175
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection",
209
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection",
242
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection");
243
builder.
AddOracleDatabaseDbContext
<TestDbContext2>("orclconnection2");
275
var exception = Assert.Throws<InvalidOperationException>(() => builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection"));
298
var exception = Record.Exception(() => builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection"));
311
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", o => o.InstrumentationOptions = null);
327
builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", o => o.InstrumentationOptions = s => s.SetDbStatementForText = true);
ConformanceTests.cs (1)
76
=> builder.
AddOracleDatabaseDbContext
<TestDbContext>("orclconnection", configure);