mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
fc4049e880
commit
4ce7005c13
@ -320,8 +320,8 @@ namespace SqlSugar
|
||||
public async Task<object> InSingleAsync(object pkValue)
|
||||
{
|
||||
var method = QueryableObj.GetType().GetMyMethod("InSingleAsync", 1);
|
||||
var reslt = method.Invoke(QueryableObj, new object[] { pkValue });
|
||||
return await(Task<object>)reslt;
|
||||
var task = (Task)method.Invoke(QueryableObj, new object[] { pkValue });
|
||||
return await GetTask(task).ConfigureAwait(false);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user