1 write to Options
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
TestDbContext.cs (1)
17Options = options;
17 references to Options
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (17)
AspireEFPostgreSqlExtensionsTests.cs (5)
108var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 120var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 150var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 191var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 225var extension = context.Options.FindExtension<NpgsqlOptionsExtension>();
EnrichNpgsqlTests.cs (12)
80var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 88var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 137var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 142var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 181var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 186var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 220var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 225var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 290var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 295var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 337var extension = context.Options.FindExtension<NpgsqlOptionsExtension>(); 342var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!));