Browse Source

Performance optimization

pull/32/head
sunkaixuan 2 years ago
parent
commit
f280126d69
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

4
Src/Asp.Net/SqlSugar/Abstract/AdoProvider/AdoProvider.cs

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

Loading…
Cancel
Save