This commit is contained in:
sunkaixuna
2021-09-04 16:20:58 +08:00
parent 50579e5299
commit 91873b3a23

View File

@@ -1821,7 +1821,7 @@ namespace SqlSugar
protected async Task<List<TResult>> _ToListAsync<TResult>() protected async Task<List<TResult>> _ToListAsync<TResult>()
{ {
List<TResult> result = null; List<TResult> result = null;
var sqlObj = this.ToSql(); var sqlObj = this._ToSql();
if (IsCache) if (IsCache)
{ {
var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCacheService; var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCacheService;