mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update queryable().Select<string>().Clone() bug
This commit is contained in:
parent
4f52f5b64a
commit
d307629f57
@ -71,7 +71,7 @@ namespace SqlSugar
|
||||
}
|
||||
public ISugarQueryable<T> Clone()
|
||||
{
|
||||
var queryable = this.Context.Queryable<T>().WithCacheIF(IsCache, CacheTime);
|
||||
var queryable = this.Context.Queryable<object>().Select<T>().WithCacheIF(IsCache, CacheTime);
|
||||
CopyQueryBuilder(queryable.QueryBuilder);
|
||||
((QueryableProvider<T>)queryable).MapperAction = this.MapperAction;
|
||||
((QueryableProvider<T>)queryable).MapperActionWithCache = this.MapperActionWithCache;
|
||||
|
Loading…
Reference in New Issue
Block a user