Metodo DbCommandDispatcher.NonQueryAsync
[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 NonQueryAsync ( _
command As DbCommand, _
interceptionContext As DbCommandInterceptionContext, _
cancellationToken As CancellationToken _
) As Task(Of Integer)
'Utilizzo
Dim instance As DbCommandDispatcher
Dim command As DbCommand
Dim interceptionContext As DbCommandInterceptionContext
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of Integer)
returnValue = instance.NonQueryAsync(command, _
interceptionContext, cancellationToken)
public virtual Task<int> NonQueryAsync(
DbCommand command,
DbCommandInterceptionContext interceptionContext,
CancellationToken cancellationToken
)
public:
virtual Task<int>^ NonQueryAsync(
DbCommand^ command,
DbCommandInterceptionContext^ interceptionContext,
CancellationToken cancellationToken
)
abstract NonQueryAsync :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext *
cancellationToken:CancellationToken -> Task<int>
override NonQueryAsync :
command:DbCommand *
interceptionContext:DbCommandInterceptionContext *
cancellationToken:CancellationToken -> Task<int>
public function NonQueryAsync(
command : DbCommand,
interceptionContext : DbCommandInterceptionContext,
cancellationToken : CancellationToken
) : Task<int>
Parametri
- command
Tipo: System.Data.Common.DbCommand
- interceptionContext
Tipo: System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
- cancellationToken
Tipo: System.Threading.CancellationToken
Valore restituito
Tipo: System.Threading.Tasks.Task<Int32>
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.Infrastructure.Interception