共用方式為


DbCommandInterceptionContext 建構函式 (DbInterceptionContext)

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

命名空間:  System.Data.Entity.Infrastructure.Interception
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
Public Sub New ( _
    copyFrom As DbInterceptionContext _
)
'用途
Dim copyFrom As DbInterceptionContext 

Dim instance As New DbCommandInterceptionContext(copyFrom)
public DbCommandInterceptionContext(
    DbInterceptionContext copyFrom
)
public:
DbCommandInterceptionContext(
    DbInterceptionContext^ copyFrom
)
new : 
        copyFrom:DbInterceptionContext -> DbCommandInterceptionContext
public function DbCommandInterceptionContext(
    copyFrom : DbInterceptionContext
)

參數

請參閱

參考

DbCommandInterceptionContext 類別

DbCommandInterceptionContext 多載

System.Data.Entity.Infrastructure.Interception 命名空間