Table of Contents

Method ExecuteNonQueryAsync

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

ExecuteNonQueryAsync(CancellationToken)

Asynchronously executes the command with ExecuteNonQueryAsync(CancellationToken).

public ValueTask<int> ExecuteNonQueryAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token that can cancel the call. It is used together with the command's own token (see UseCancellationToken(CancellationToken)); either one cancels.

Returns

ValueTask<int>

A task that represents the asynchronous operation; its result is the number of rows affected, as the provider reports it.