共用方式為


DbCommandInterceptionContext 建構函式

定義

多載

DbCommandInterceptionContext()

建構沒有狀態的新 DbCommandInterceptionContext

DbCommandInterceptionContext(DbInterceptionContext)

從指定的攔截內容複寫狀態,以建立新的 DbCommandInterceptionContext 。 另請參閱 Clone()

DbCommandInterceptionContext()

建構沒有狀態的新 DbCommandInterceptionContext

public DbCommandInterceptionContext();
Public Sub New ()

適用於

DbCommandInterceptionContext(DbInterceptionContext)

從指定的攔截內容複寫狀態,以建立新的 DbCommandInterceptionContext 。 另請參閱 Clone()

public DbCommandInterceptionContext(System.Data.Entity.Infrastructure.Interception.DbInterceptionContext copyFrom);
new System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext : System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
Public Sub New (copyFrom As DbInterceptionContext)

參數

copyFrom
DbInterceptionContext

要從中複製狀態的內容。

適用於