View Source
Class SqlServerConnectionInterceptor
Inheritance
System.Object
Assembly: Umbraco.Cms.Persistence.SqlServer.dll
Syntax
public abstract class SqlServerConnectionInterceptor : IProviderSpecificConnectionInterceptor, IProviderSpecificInterceptor
Properties
View Source
ProviderName
Declaration
public string ProviderName { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
View Source
OnConnectionClosing(IDatabase, DbConnection)
Declaration
public virtual void OnConnectionClosing(IDatabase database, DbConnection conn)
Parameters
| Type |
Name |
Description |
| IDatabase |
database |
|
| System.Data.Common.DbConnection |
conn |
|
View Source
OnConnectionOpened(IDatabase, DbConnection)
Declaration
public abstract DbConnection OnConnectionOpened(IDatabase database, DbConnection conn)
Parameters
| Type |
Name |
Description |
| IDatabase |
database |
|
| System.Data.Common.DbConnection |
conn |
|
Returns
| Type |
Description |
| System.Data.Common.DbConnection |
|