When is it save to modify a SqlCommand
without modifying the query to be run?
For example, when I have
SqlCommand cmd = getCommand();
con.executeNonQueryAsync();
//later
modifyParameters(cmd);
is it possible that the NonQuery that gets executed sees the modified parameters? If so, is there any synchronization option before the returned task completed for after which modifying the command is guaranteed not to modify the run statement?