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