问题描述:

This question already has an answer here:

  • Is there a way I can run a Database.SqlQuery as async?

    1 answer

网友答案:

You have to use the Async version of the methods.

try:

var AcctLst = await rep.ExecuteStoredProcedure<Entities.Case.SaveCaseSearchOutput>(strSPQuery, listParam).ToListAsync();
相关阅读:
Top