3 writes to DisableRetry
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (3)
EnrichMySqlTests.cs (3)
287
builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.
DisableRetry
= true);
315
builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.
DisableRetry
= false);
332
builder.EnrichMySqlDbContext<TestDbContext>(settings => settings.
DisableRetry
= false);
5 references to DisableRetry
Aspire.Pomelo.EntityFrameworkCore.MySql (4)
AspireEFMySqlExtensions.cs (4)
122
if (!settings.
DisableRetry
)
161
if (!settings.
DisableRetry
|| settings.CommandTimeout.HasValue)
183
if (!settings.
DisableRetry
)
199
throw 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
);