SqlHelper..::..ExecuteNonQueryAsync Method (String, CommandType, String)
Execute a SqlCommand (that returns no resultset and takes no parameters) against the database specified in
the connection string
Namespace:
CoreAssembly: Core (in Core.dll)
Syntax
public static Task<int> ExecuteNonQueryAsync( string connectionString, CommandType commandType, string commandText )
Parameters
- connectionString
- Type: String
A valid connection string for a SqlConnection
- commandType
- Type: CommandType
The CommandType (stored procedure, text, etc.)
- commandText
- Type: String
The stored procedure name or T-SQL command