共用方式為


IDbCommandInterceptor.NonQueryExecuted 方法

[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 中)

語法

'宣告
Sub NonQueryExecuted ( _
    command As DbCommand, _
    interceptionContext As DbCommandInterceptionContext(Of Integer) _
)
'用途
Dim instance As IDbCommandInterceptor 
Dim command As DbCommand 
Dim interceptionContext As DbCommandInterceptionContext(Of Integer)

instance.NonQueryExecuted(command, interceptionContext)
void NonQueryExecuted(
    DbCommand command,
    DbCommandInterceptionContext<int> interceptionContext
)
void NonQueryExecuted(
    DbCommand^ command, 
    DbCommandInterceptionContext<int>^ interceptionContext
)
abstract NonQueryExecuted : 
        command:DbCommand * 
        interceptionContext:DbCommandInterceptionContext<int> -> unit
function NonQueryExecuted(
    command : DbCommand, 
    interceptionContext : DbCommandInterceptionContext<int>
)

參數

請參閱

參考

IDbCommandInterceptor 介面

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