Which code segment should you use?

DRAG DROP
You need to modify the ExecuteCommandProcedure() method to meet the technical
requirements.
Which code segment should you use?

DRAG DROP
You need to modify the ExecuteCommandProcedure() method to meet the technical
requirements.
Which code segment should you use?

Answer:



Leave a Reply 3

Your email address will not be published. Required fields are marked *


FigArt

FigArt

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.

TestTaker

TestTaker

I agree, it says ExecuteNonQueryAsync on other exams

Syed Ajaz Akhter

Syed Ajaz Akhter

Correct :
await connection.OpenAsync();
await command.ExecuteNonQueryAsync();