Synchronization code

This commit is contained in:
sunkaixuan
2023-04-16 11:56:03 +08:00
parent f280126d69
commit 6b4923adeb

View File

@@ -681,7 +681,9 @@ namespace SqlSugar
{ {
Async(); Async();
//False asynchrony . No Support DataSet //False asynchrony . No Support DataSet
return Task.FromResult(GetDataSetAll(sql, parameters)); return Task.Run(() => {
return GetDataSetAll(sql, parameters);
});
} }
#endregion #endregion