DbCommandInterceptionContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
要從中複製狀態的內容。