Browse Source

Update Sqlqueryable.Select BUG

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
48ef6ae142
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

4
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -554,6 +554,10 @@ namespace SqlSugar
result.Context = this.Context;
result.SqlBuilder = this.SqlBuilder;
QueryBuilder.SelectValue = selectValue;
if (this.IsAs)
{
((QueryableProvider<TResult>)result).IsAs = true;
}
return result;
}
public virtual ISugarQueryable<T> Select(string selectValue)

Loading…
Cancel
Save