Skip to content

Commit ae747af

Browse files
authored
Update note (#5000)
1 parent 45baf92 commit ae747af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • entity-framework/core/providers/sql-server

entity-framework/core/providers/sql-server/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Starting with EF 9, it's recommended to use `UseAzureSql` and `UseAzureSynapse`
4545
4646
### EnableRetryOnFailureByDefault
4747

48-
EF 9 introduced `EnableRetryOnFailureByDefault` method that configures the context to default [execution strategy](xref:core/miscellaneous/connection-resiliency) unless it is configured explicitly (i.e. when using DI). To use it, simply call `ConfigureSqlEngine(c => c.EnableRetryOnFailureByDefault())` and later you can use `UseSqlServer` or `UseAzureSql` or `UseAzureSynapse` as usual.
48+
EF 9 introduced `EnableRetryOnFailureByDefault` method that configures the context to default [execution strategy](xref:core/miscellaneous/connection-resiliency) unless it is configured explicitly (i.e. when using DI). To use it, simply call `ConfigureSqlEngine(c => c.EnableRetryOnFailureByDefault())` and later you can use `UseSqlServer` as usual. It is not necessary to call `EnableRetryOnFailureByDefault` when using `UseAzureSql` or `UseAzureSynapse`, as they already enable the default execution strategy.
4949

5050
## Supported Database Engines
5151

0 commit comments

Comments
 (0)