Show / Hide Table of Contents

Method ExecuteNonQueryAsync

| Improve this Doc View Source

ExecuteNonQueryAsync(TCommand, CancellationToken)

Executes the command in transaction and returns the number of rows affected.

Declaration
protected abstract Task<int> ExecuteNonQueryAsync(TCommand command, CancellationToken ct)
Parameters
Type Name Description
TCommand command

The command.

System.Threading.CancellationToken ct

The async cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Int32>

The number of rows affected.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest