3 writes to DisableRetry
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (3)
EnrichNpgsqlTests.cs (3)
283builder.EnrichNpgsqlDbContext<TestDbContext>(settings => settings.DisableRetry = true); 312builder.EnrichNpgsqlDbContext<TestDbContext>(settings => settings.DisableRetry = false); 330builder.EnrichNpgsqlDbContext<TestDbContext>(settings => settings.DisableRetry = false);
5 references to DisableRetry
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (4)
AspireEFPostgreSqlExtensions.cs (4)
81if (!settings.DisableRetry) 125if (!settings.DisableRetry || settings.CommandTimeout.HasValue) 141if (!settings.DisableRetry) 157throw new InvalidOperationException($"{nameof(NpgsqlEntityFrameworkCorePostgreSQLSettings)}.{nameof(NpgsqlEntityFrameworkCorePostgreSQLSettings.DisableRetry)} needs to be set when a custom Execution Strategy is configured.");
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
ConfigurationTests.cs (1)
28=> Assert.False(new NpgsqlEntityFrameworkCorePostgreSQLSettings().DisableRetry);