1 write to Options
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
tests\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests\TestDbContext.cs (1)
17
Options
= options;
17 references to Options
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (17)
AspireSqlServerEFCoreSqlClientExtensionsTests.cs (5)
98
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
110
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
142
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
183
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
218
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
EnrichSqlServerTests.cs (12)
78
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
86
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
133
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
138
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
176
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
181
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
214
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
219
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
280
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
285
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));
325
var extension = context.
Options
.FindExtension<SqlServerOptionsExtension>();
330
var executionStrategy = extension.ExecutionStrategyFactory(new ExecutionStrategyDependencies(new CurrentDbContext(context), context.
Options
, null!));