DbConnectionDispatcher.Open(DbConnection, DbInterceptionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends Opening(DbConnection, DbConnectionInterceptionContext) and Opened(DbConnection, DbConnectionInterceptionContext) to any IDbConnectionInterceptor registered on DbInterception before/after making a call to Open().
public virtual void Open (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext);
abstract member Open : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
override this.Open : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
Public Overridable Sub Open (connection As DbConnection, interceptionContext As DbInterceptionContext)
Parameters
- connection
- DbConnection
The connection on which the operation will be executed.
- interceptionContext
- DbInterceptionContext
Optional information about the context of the call being made.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework