mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-24 17:59:12 +08:00
Optimized code
This commit is contained in:
@@ -361,7 +361,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public ISugarQueryable<Type> OfType<Type>()
|
public ISugarQueryable<Type> OfType<Type>()
|
||||||
{
|
{
|
||||||
return this.Select<Type>().Select("*");
|
return this.Select<Type>().Select(this.Clone().QueryBuilder.GetSelectValue);
|
||||||
}
|
}
|
||||||
public ISugarQueryable<T> AsType(Type tableNameType)
|
public ISugarQueryable<T> AsType(Type tableNameType)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user