DRAG DROP
You need to modify the ExecuteCommandProcedure() method to meet the technical
requirements.
Which code segment should you use?
Leave a Reply
DRAG DROP
You need to modify the ExecuteCommandProcedure() method to meet the technical
requirements.
Which code segment should you use?
QueryAsync() is not a valid method on the EntityCommand object. Given that this code block is the async equivalent of “void”, it makes sense that we execute “ExecuteNonQueryAsync” as this query does not return values.
I agree, it says ExecuteNonQueryAsync on other exams
Correct :
await connection.OpenAsync();
await command.ExecuteNonQueryAsync();