3 writes to DisableRetry
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (3)
EnrichMySqlTests.cs (3)
287builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.DisableRetry = true); 315builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.DisableRetry = false); 332builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.DisableRetry = false);
5 references to DisableRetry
Aspire.Pomelo.EntityFrameworkCore.MySql (4)
AspireEFMySqlExtensions.cs (4)
122if (!settings.DisableRetry) 161if (!settings.DisableRetry || settings.CommandTimeout.HasValue) 183if (!settings.DisableRetry) 199throw new InvalidOperationException($"{nameof(PomeloEntityFrameworkCoreMySqlSettings)}.{nameof(PomeloEntityFrameworkCoreMySqlSettings.DisableRetry)} needs to be set when a custom Execution Strategy is configured.");
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
ConfigurationTests.cs (1)
28=> Assert.False(new PomeloEntityFrameworkCoreMySqlSettings().DisableRetry);