Class MySqlExecutionStrategy
An execution strategy tailored for handling MySql Server transient errors.
Inheritance
MySqlExecutionStrategy
Assembly: MySql.Data.EntityFramework.dll
Version: 9.0.0
Syntax
public class MySqlExecutionStrategy : DbExecutionStrategy
Constructors
MySqlExecutionStrategy()
Declaration
public MySqlExecutionStrategy()
Methods
GetNextDelay(Exception)
Declaration
protected override TimeSpan? GetNextDelay(Exception lastException)
Parameters
Type |
Name |
Description |
Exception |
lastException |
|
Returns
ShouldRetryOn(Exception)
Declaration
protected override bool ShouldRetryOn(Exception exception)
Parameters
Returns