22 references to EntityFrameworkCoreCosmosSettings
Aspire.Microsoft.EntityFrameworkCore.Cosmos (13)
AspireAzureEFCoreCosmosExtensions.cs (12)
36/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="EntityFrameworkCoreCosmosSettings.ConnectionString"/> is not provided.</exception> 40Action<EntityFrameworkCoreCosmosSettings>? configureSettings = null, 79/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="EntityFrameworkCoreCosmosSettings.ConnectionString"/> is not provided.</exception> 84Action<EntityFrameworkCoreCosmosSettings>? configureSettings = null, 93var settings = builder.GetDbContextSettings<TContext, EntityFrameworkCoreCosmosSettings>( 181Action<EntityFrameworkCoreCosmosSettings>? configureSettings = null) 186var settings = builder.GetDbContextSettings<TContext, EntityFrameworkCoreCosmosSettings>( 218private static void ConfigureRequestTimeout<TContext>(DbContextOptionsBuilder builder, EntityFrameworkCoreCosmosSettings settings) 227throw new InvalidOperationException($"Conflicting values for 'RequestTimeout' were found in {nameof(EntityFrameworkCoreCosmosSettings)} and set in DbContextOptions<{typeof(TContext).Name}>."); 234private static void ConfigureInstrumentation<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors | DynamicallyAccessedMemberTypes.PublicProperties)] TContext>(IHostApplicationBuilder builder, EntityFrameworkCoreCosmosSettings settings) where TContext : DbContext
AssemblyInfo.cs (1)
7[assembly: ConfigurationSchema("Aspire:Microsoft:EntityFrameworkCore:Cosmos", typeof(EntityFrameworkCoreCosmosSettings))]
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (9)
AspireAzureEfCoreCosmosDBExtensionsTests.cs (3)
248EntityFrameworkCoreCosmosSettings? capturedSettings = null; 367EntityFrameworkCoreCosmosSettings? capturedSettings = null; 396EntityFrameworkCoreCosmosSettings? capturedSettings = null;
ConformanceTests.cs (5)
15public class ConformanceTests : ConformanceTests<TestDbContext, EntityFrameworkCoreCosmosSettings> 36protected override void RegisterComponent(HostApplicationBuilder builder, Action<EntityFrameworkCoreCosmosSettings>? configure = null, string? key = null) 39protected override void SetHealthCheck(EntityFrameworkCoreCosmosSettings options, bool enabled) 42protected override void SetTracing(EntityFrameworkCoreCosmosSettings options, bool enabled) 45protected override void SetMetrics(EntityFrameworkCoreCosmosSettings options, bool enabled)
EnrichCosmosDbTests.cs (1)
20protected override void RegisterComponent(HostApplicationBuilder builder, Action<EntityFrameworkCoreCosmosSettings>? configure = null, string? key = null)