18 references to OracleEntityFrameworkCoreSettings
Aspire.Oracle.EntityFrameworkCore (12)
AspireOracleEFCoreExtensions.cs (11)
37
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="
OracleEntityFrameworkCoreSettings
.ConnectionString"/> is not provided.</exception>
41
Action<
OracleEntityFrameworkCoreSettings
>? configureSettings = null,
48
var
settings = builder.GetDbContextSettings<TContext,
OracleEntityFrameworkCoreSettings
>(
95
Action<
OracleEntityFrameworkCoreSettings
>? configureSettings = null) where TContext : DbContext
99
var
settings = builder.GetDbContextSettings<TContext,
OracleEntityFrameworkCoreSettings
>(
145
throw new InvalidOperationException($"{nameof(
OracleEntityFrameworkCoreSettings
)}.{nameof(
OracleEntityFrameworkCoreSettings
.DisableRetry)} needs to be set when a custom Execution Strategy is configured.");
164
throw new InvalidOperationException($"Conflicting values for 'CommandTimeout' were found in {nameof(
OracleEntityFrameworkCoreSettings
)} and set in DbContextOptions<{typeof(TContext).Name}>.");
176
private static void ConfigureInstrumentation<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors | DynamicallyAccessedMemberTypes.PublicProperties)] TContext>(IHostApplicationBuilder builder,
OracleEntityFrameworkCoreSettings
settings) where TContext : DbContext
AssemblyInfo.cs (1)
7
[assembly: ConfigurationSchema("Aspire:Oracle:EntityFrameworkCore", typeof(
OracleEntityFrameworkCoreSettings
))]
Aspire.Oracle.EntityFrameworkCore.Tests (6)
ConformanceTests.cs (5)
20
public class ConformanceTests : ConformanceTests<TestDbContext,
OracleEntityFrameworkCoreSettings
>
75
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
OracleEntityFrameworkCoreSettings
>? configure = null, string? key = null)
78
protected override void SetHealthCheck(
OracleEntityFrameworkCoreSettings
options, bool enabled)
81
protected override void SetTracing(
OracleEntityFrameworkCoreSettings
options, bool enabled)
84
protected override void SetMetrics(
OracleEntityFrameworkCoreSettings
options, bool enabled)
EnrichOracleDatabaseTests.cs (1)
26
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
OracleEntityFrameworkCoreSettings
>? configure = null, string? key = null)