// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
namespace Aspire.Pomelo.EntityFrameworkCore.MySql.Tests;
#pragma warning disable EF1001 // Internal EF Core API usage.
public class CustomRetryExecutionStrategy : MySqlRetryingExecutionStrategy
{
public const int DefaultRetryCount = 123;
public CustomRetryExecutionStrategy(ExecutionStrategyDependencies dependencies) : base(dependencies)
{
}
public int RetryCount => DefaultRetryCount;
}
#pragma warning restore EF1001 // Internal EF Core API usage.
|