IDbCommandInterceptor.NonQueryExecuted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called after a call to ExecuteNonQuery() or one of its async counterparts is made. The result used by Entity Framework can be changed by setting Result.
public void NonQueryExecuted (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> interceptionContext);
abstract member NonQueryExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
Public Sub NonQueryExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))
Parameters
- command
- DbCommand
The command being executed.
- interceptionContext
- DbCommandInterceptionContext<Int32>
Contextual information associated with the call.
Remarks
For async operations this method is not called until after the async task has completed or failed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework