共用方式為


DbCommandTreeInterceptionContext.Clone 方法

[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.]

此成員會覆寫 DbInterceptionContext.Clone()

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

語法

'宣告
Protected Overrides Function Clone As DbInterceptionContext
'用途
Dim returnValue As DbInterceptionContext 

returnValue = Me.Clone()
protected override DbInterceptionContext Clone()
protected:
virtual DbInterceptionContext^ Clone() override
abstract Clone : unit -> DbInterceptionContext  
override Clone : unit -> DbInterceptionContext
protected override function Clone() : DbInterceptionContext

傳回值

型別:System.Data.Entity.Infrastructure.Interception.DbInterceptionContext

請參閱

參考

DbCommandTreeInterceptionContext 類別

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