Browse Source

Update .net core project

pull/19/head
sunkaixuan 2 years ago
parent
commit
cd504b4851
  1. 1
      Src/Asp.NetCore2/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

1
Src/Asp.NetCore2/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -103,6 +103,7 @@ namespace SqlSugar
var result = InstanceFactory.GetQueryable<T, T2>(this.Context.CurrentConnectionConfig); var result = InstanceFactory.GetQueryable<T, T2>(this.Context.CurrentConnectionConfig);
result.SqlBuilder = this.SqlBuilder; result.SqlBuilder = this.SqlBuilder;
result.Context = this.Context; result.Context = this.Context;
this.QueryBuilder.IsSqlQuery = false;
result.QueryBuilder.JoinQueryInfos.Add(GetJoinInfo(joinExpression,JoinType.Left)); result.QueryBuilder.JoinQueryInfos.Add(GetJoinInfo(joinExpression,JoinType.Left));
return result; return result;
} }

Loading…
Cancel
Save