DatabaseLogFormatter.NonQueryExecuting 方法
[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 Overridable Sub NonQueryExecuting ( _
command As DbCommand, _
interceptionContext As DbCommandInterceptionContext(Of Integer) _
)
'用途
Dim instance As DatabaseLogFormatter
Dim command As DbCommand
Dim interceptionContext As DbCommandInterceptionContext(Of Integer)
instance.NonQueryExecuting(command, interceptionContext)
public virtual void NonQueryExecuting(
DbCommand command,
DbCommandInterceptionContext<int> interceptionContext
)
public:
virtual void NonQueryExecuting(
DbCommand^ command,
DbCommandInterceptionContext<int>^ interceptionContext
)
abstract NonQueryExecuting :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<int> -> unit
override NonQueryExecuting :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext<int> -> unit
public function NonQueryExecuting(
command : DbCommand,
interceptionContext : DbCommandInterceptionContext<int>
)
參數
- command
型別:System.Data.Common.DbCommand
- interceptionContext
型別:System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<Int32>
實作
IDbCommandInterceptor.NonQueryExecuting(DbCommand, DbCommandInterceptionContext<Int32>)