mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Optimized code
This commit is contained in:
parent
c7035e535c
commit
304ce4c3e4
@ -361,7 +361,8 @@ namespace SqlSugar
|
||||
}
|
||||
public ISugarQueryable<Type> OfType<Type>()
|
||||
{
|
||||
return this.Select<Type>().Select(this.Clone().QueryBuilder.GetSelectValue);
|
||||
var selectValue = this.Clone().QueryBuilder.GetSelectValue;
|
||||
return this.Select<Type>().Select(selectValue);
|
||||
}
|
||||
public ISugarQueryable<T> AsType(Type tableNameType)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user