mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Level 2 cache specifies KEY mode BUG
This commit is contained in:
parent
b9318e014a
commit
1c602a8efb
@ -73,6 +73,7 @@ namespace SqlSugar
|
||||
{
|
||||
var queryable = this.Context.Queryable<object>().Select<T>().WithCacheIF(IsCache, CacheTime);
|
||||
CopyQueryBuilder(queryable.QueryBuilder);
|
||||
((QueryableProvider<T>)queryable).CacheKey = this.CacheKey;
|
||||
((QueryableProvider<T>)queryable).MapperAction = this.MapperAction;
|
||||
((QueryableProvider<T>)queryable).MapperActionWithCache = this.MapperActionWithCache;
|
||||
((QueryableProvider<T>)queryable).Mappers = this.Mappers;
|
||||
|
Loading…
Reference in New Issue
Block a user