|
|
@ -407,10 +407,10 @@ namespace SqlSugar |
|
|
|
queryable.Where(joinExpression); |
|
|
|
return queryable; |
|
|
|
} |
|
|
|
public virtual ISugarQueryable<T> Queryable<T>(ISugarQueryable<T> queryable) where T : class, new() |
|
|
|
public virtual ISugarQueryable<T> Queryable<T>(ISugarQueryable<T> queryable) |
|
|
|
{ |
|
|
|
var sqlobj = queryable.ToSql(); |
|
|
|
var result = this.SqlQueryable<T>(sqlobj.Key).AddParameters(sqlobj.Value); |
|
|
|
var result = this.SqlQueryable<object>(sqlobj.Key).AddParameters(sqlobj.Value).Select<T>("*"); |
|
|
|
result.QueryBuilder.IsSqlQuery = false; |
|
|
|
return result; |
|
|
|
} |
|
|
|