20 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, 49var settings = builder.GetDbContextSettings<TContext, OracleEntityFrameworkCoreSettings>( 97Action<OracleEntityFrameworkCoreSettings>? configureSettings = null) where TContext : DbContext 101var settings = builder.GetDbContextSettings<TContext, OracleEntityFrameworkCoreSettings>( 148throw new InvalidOperationException($"{nameof(OracleEntityFrameworkCoreSettings)}.{nameof(OracleEntityFrameworkCoreSettings.DisableRetry)} needs to be set when a custom Execution Strategy is configured."); 167throw new InvalidOperationException($"Conflicting values for 'CommandTimeout' were found in {nameof(OracleEntityFrameworkCoreSettings)} and set in DbContextOptions<{typeof(TContext).Name}>."); 179private 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 (8)
AspireOracleEFCoreDatabaseExtensionsTests.cs (2)
349OracleEntityFrameworkCoreSettings? capturedSettings = null; 377OracleEntityFrameworkCoreSettings? capturedSettings = null;
ConformanceTests.cs (5)
19public class ConformanceTests : ConformanceTests<TestDbContext, OracleEntityFrameworkCoreSettings> 74protected override void RegisterComponent(HostApplicationBuilder builder, Action<OracleEntityFrameworkCoreSettings>? configure = null, string? key = null) 77protected override void SetHealthCheck(OracleEntityFrameworkCoreSettings options, bool enabled) 80protected override void SetTracing(OracleEntityFrameworkCoreSettings options, bool enabled) 83protected override void SetMetrics(OracleEntityFrameworkCoreSettings options, bool enabled)
EnrichOracleDatabaseTests.cs (1)
24protected override void RegisterComponent(HostApplicationBuilder builder, Action<OracleEntityFrameworkCoreSettings>? configure = null, string? key = null)