Executes a command that doesn't return any data. The result returns the number of records affected or -1 on error.
public virtual Task<Int32> ExecuteNonQueryAsync(string sql, Object[] parameters)
Parameters
sql
SQL statement as a string
parameters
DbParameters (CreateParameter()) for named parameters
or use @0,@1 parms in SQL and plain values
Overloads:
See also:
Class DataAccessBase© West Wind Technologies, 1996-2023 • Updated: 07/15/20
Comment or report problem with topic