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>
40
Action<
EntityFrameworkCoreCosmosSettings
>? configureSettings = null,
79
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="
EntityFrameworkCoreCosmosSettings
.ConnectionString"/> is not provided.</exception>
84
Action<
EntityFrameworkCoreCosmosSettings
>? configureSettings = null,
93
var
settings = builder.GetDbContextSettings<TContext,
EntityFrameworkCoreCosmosSettings
>(
181
Action<
EntityFrameworkCoreCosmosSettings
>? configureSettings = null)
186
var
settings = builder.GetDbContextSettings<TContext,
EntityFrameworkCoreCosmosSettings
>(
218
private static void ConfigureRequestTimeout<TContext>(DbContextOptionsBuilder builder,
EntityFrameworkCoreCosmosSettings
settings)
227
throw new InvalidOperationException($"Conflicting values for 'RequestTimeout' were found in {nameof(
EntityFrameworkCoreCosmosSettings
)} and set in DbContextOptions<{typeof(TContext).Name}>.");
234
private 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)
248
EntityFrameworkCoreCosmosSettings
? capturedSettings = null;
367
EntityFrameworkCoreCosmosSettings
? capturedSettings = null;
396
EntityFrameworkCoreCosmosSettings
? capturedSettings = null;
ConformanceTests.cs (5)
15
public class ConformanceTests : ConformanceTests<TestDbContext,
EntityFrameworkCoreCosmosSettings
>
36
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
EntityFrameworkCoreCosmosSettings
>? configure = null, string? key = null)
39
protected override void SetHealthCheck(
EntityFrameworkCoreCosmosSettings
options, bool enabled)
42
protected override void SetTracing(
EntityFrameworkCoreCosmosSettings
options, bool enabled)
45
protected override void SetMetrics(
EntityFrameworkCoreCosmosSettings
options, bool enabled)
EnrichCosmosDbTests.cs (1)
20
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
EntityFrameworkCoreCosmosSettings
>? configure = null, string? key = null)