Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
6d4226d1fa
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -1009,7 +1009,7 @@ namespace SqlSugar
if (IsCache)
{
var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCache;
result = CacheSchemeMain.GetOrCreate<List<TResult>>(cacheService, this.Context, this.QueryBuilder,()=> { return GetData<TResult>(sqlObj); });
result = CacheSchemeMain.GetOrCreate<List<TResult>>(cacheService, this.QueryBuilder,()=> { return GetData<TResult>(sqlObj); },CacheTime, this.Context);
}
else
{

Loading…
Cancel
Save