AspireOracleEFCoreExtensions Class

Definition

Extension methods for configuring EntityFrameworkCore DbContext to Oracle database

public static class AspireOracleEFCoreExtensions
type AspireOracleEFCoreExtensions = class
Public Module AspireOracleEFCoreExtensions
Inheritance
AspireOracleEFCoreExtensions

Methods

AddOracleDatabaseDbContext<TContext>(IHostApplicationBuilder, String, Action<OracleEntityFrameworkCoreSettings>, Action<DbContextOptionsBuilder>)

Registers the given DbContext as a service in the services provided by the builder. Enables db context pooling, retries, health check, logging and telemetry for the DbContext.

EnrichOracleDatabaseDbContext<TContext>(IHostApplicationBuilder, Action<OracleEntityFrameworkCoreSettings>)

Configures retries, health check, logging and telemetry for the DbContext.

Applies to