IDbCommandInterceptor.ScalarExecuted 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 ExecuteScalar() or one of its async counterparts is made. The result used by Entity Framework can be changed by setting Result.
public void ScalarExecuted (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Sub ScalarExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Object))
Parameters
- command
- DbCommand
The command being executed.
- interceptionContext
- DbCommandInterceptionContext<Object>
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework