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> 41Action<OracleEntityFrameworkCoreSettings>? configureSettings = null, 48var settings = builder.GetDbContextSettings<TContext, OracleEntityFrameworkCoreSettings>( 95Action<OracleEntityFrameworkCoreSettings>? configureSettings = null) where TContext : DbContext 99var settings = builder.GetDbContextSettings<TContext, OracleEntityFrameworkCoreSettings>( 145throw new InvalidOperationException($"{nameof(OracleEntityFrameworkCoreSettings)}.{nameof(OracleEntityFrameworkCoreSettings.DisableRetry)} needs to be set when a custom Execution Strategy is configured."); 164throw new InvalidOperationException($"Conflicting values for 'CommandTimeout' were found in {nameof(OracleEntityFrameworkCoreSettings)} and set in DbContextOptions<{typeof(TContext).Name}>."); 176private 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)
20public class ConformanceTests : ConformanceTests<TestDbContext, OracleEntityFrameworkCoreSettings> 75protected override void RegisterComponent(HostApplicationBuilder builder, Action<OracleEntityFrameworkCoreSettings>? configure = null, string? key = null) 78protected override void SetHealthCheck(OracleEntityFrameworkCoreSettings options, bool enabled) 81protected override void SetTracing(OracleEntityFrameworkCoreSettings options, bool enabled) 84protected override void SetMetrics(OracleEntityFrameworkCoreSettings options, bool enabled)
EnrichOracleDatabaseTests.cs (1)
26protected override void RegisterComponent(HostApplicationBuilder builder, Action<OracleEntityFrameworkCoreSettings>? configure = null, string? key = null)