79264022

Date: 2024-12-09 06:32:38
Score: 3
Natty:
Report link

thank you for the time you have taken to help me. It was a Friday that stuck with me to find out the solution. this Monday fresh morning, fresh mind gave an easy solution to my existing code.

all I have to use is "SelectData" instead of "ExecuteScalarAsync" that is returning multiple values as a tuple post SQL insert query.

return await dbHelper.SelectData<(int, string)>(sqlQuery.ToString(), paramSearch).ConfigureAwait(false);

Thanks

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: krunal