Class SqlApplicationRolesInterceptor
- Namespace
- Innova.Data.Entity.Configuration
- Assembly
- Innova.Data.dll
Interceptor for managing SQL application roles on database connections.
public class SqlApplicationRolesInterceptor : DbConnectionInterceptor, IDbConnectionInterceptor, IInterceptor
- Inheritance
-
SqlApplicationRolesInterceptor
- Implements
Constructors
- SqlApplicationRolesInterceptor(string, string)
Initializes a new instance of the SqlApplicationRolesInterceptor class.
Methods
- ConnectionClosing(DbConnection, ConnectionEventData, InterceptionResult)
Called just before EF intends to call Close().
- ConnectionClosingAsync(DbConnection, ConnectionEventData, InterceptionResult)
Called just before EF intends to call System.Data.Common.DbConnection.CloseAsync in an async context.
- ConnectionOpened(DbConnection, ConnectionEndEventData)
Called just after EF has called Open().
- ConnectionOpenedAsync(DbConnection, ConnectionEndEventData, CancellationToken)
Called just after EF has called OpenAsync().