View Source
Class SqlServerAddRetryPolicyInterceptor
Inheritance
System.Object
Assembly: Umbraco.Cms.Persistence.SqlServer.dll
Syntax
public class SqlServerAddRetryPolicyInterceptor : SqlServerConnectionInterceptor, IProviderSpecificConnectionInterceptor, IProviderSpecificInterceptor
Constructors
View Source
SqlServerAddRetryPolicyInterceptor(IOptionsMonitor<ConnectionStrings>)
Declaration
public SqlServerAddRetryPolicyInterceptor(IOptionsMonitor<ConnectionStrings> connectionStrings)
Parameters
Type |
Name |
Description |
IOptionsMonitor<ConnectionStrings> |
connectionStrings |
|
Methods
View Source
OnConnectionOpened(IDatabase, DbConnection)
Declaration
public override DbConnection OnConnectionOpened(IDatabase database, DbConnection conn)
Parameters
Type |
Name |
Description |
IDatabase |
database |
|
System.Data.Common.DbConnection |
conn |
|
Returns
Type |
Description |
System.Data.Common.DbConnection |
|