Metodo DbCommandDispatcher.NonQuery
[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.]
Spazio dei nomi System.Data.Entity.Infrastructure.Interception
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Overridable Function NonQuery ( _
command As DbCommand, _
interceptionContext As DbCommandInterceptionContext _
) As Integer
'Utilizzo
Dim instance As DbCommandDispatcher
Dim command As DbCommand
Dim interceptionContext As DbCommandInterceptionContext
Dim returnValue As Integer
returnValue = instance.NonQuery(command, _
interceptionContext)
public virtual int NonQuery(
DbCommand command,
DbCommandInterceptionContext interceptionContext
)
public:
virtual int NonQuery(
DbCommand^ command,
DbCommandInterceptionContext^ interceptionContext
)
abstract NonQuery :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext -> int
override NonQuery :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext -> int
public function NonQuery(
command : DbCommand,
interceptionContext : DbCommandInterceptionContext
) : int
Parametri
- command
Tipo: System.Data.Common.DbCommand
- interceptionContext
Tipo: System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
Valore restituito
Tipo: System.Int32
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.Infrastructure.Interception