1 write to Options
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
tests\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests\TestDbContext.cs (1)
17Options = options;
17 references to Options
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (17)
AspireEFMySqlExtensionsTests.cs (5)
117var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 130var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 160var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 203var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 241var extension = context.Options.FindExtension<MySqlOptionsExtension>();
EnrichMySqlTests.cs (12)
92var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 100var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 147var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 152var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 190var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 195var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 228var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 233var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 294var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 299var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!)); 339var extension = context.Options.FindExtension<MySqlOptionsExtension>(); 344var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.Options, null!));