共用方式為


TransactionHandler.Opened 方法

定義

可以在衍生類別中實作。

public virtual void Opened(System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Opened : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
override this.Opened : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Overridable Sub Opened (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

參數

connection
DbConnection

開啟的連線。

interceptionContext
DbConnectionInterceptionContext

與呼叫相關聯的內容資訊。

實作

適用於

另請參閱