ExecuteNonQueryAsync()

This method returns an asynchronous version of ExecuteNonQuery(), which executes the command against its connection object and returns the number of rows affected.

Declaration

// C#
public Task<int> int ExecuteNonQueryAsync();

Return Value

A Task object.

Implements

DbCommand