Browse Source

Update exp to sql

pull/33/head
sunkaixuan 1 year ago
parent
commit
63315435ca
  1. 1
      Src/Asp.NetCore2/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs

1
Src/Asp.NetCore2/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs

@ -676,6 +676,7 @@ namespace SqlSugar
var result= this.Context.Queryable<T>().AS(sqlBuilder.GetPackTable(sql, sqlBuilder.GetDefaultShortName())).With(SqlWith.Null).Select(sqlBuilder.GetDefaultShortName() + ".*");
result.QueryBuilder.IsSqlQuery = true;
result.QueryBuilder.OldSql = sql;
result.QueryBuilder.NoCheckInclude = true;
return result;
}
#endregion

Loading…
Cancel
Save