3 writes to DisableRetry
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (3)
EnrichSqlServerTests.cs (3)
273
builder.EnrichSqlServerDbContext<TestDbContext>(settings => settings.
DisableRetry
= true);
301
builder.EnrichSqlServerDbContext<TestDbContext>(settings => settings.
DisableRetry
= false);
318
builder.EnrichSqlServerDbContext<TestDbContext>(settings => settings.
DisableRetry
= false);
4 references to DisableRetry
Aspire.Microsoft.EntityFrameworkCore.SqlServer (4)
AspireSqlServerEFCoreSqlClientExtensions.cs (4)
73
if (!settings.
DisableRetry
)
114
if (!settings.
DisableRetry
|| settings.CommandTimeout.HasValue)
127
if (!settings.
DisableRetry
)
143
throw new InvalidOperationException($"{nameof(MicrosoftEntityFrameworkCoreSqlServerSettings)}.{nameof(MicrosoftEntityFrameworkCoreSqlServerSettings.
DisableRetry
)} needs to be set when a custom Execution Strategy is configured.");