mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update Join bug
This commit is contained in:
@@ -149,6 +149,10 @@ namespace OrmTest
|
||||
it.CreateTime.Second,
|
||||
it.CreateTime.Date
|
||||
}).ToList();
|
||||
var test15 = db.Queryable<Order, Order>((o, i) => new JoinQueryInfos(
|
||||
JoinType.Left, o.Name == SqlFunc.ToString(SqlFunc.MergeString(",", i.Name, ","))
|
||||
))
|
||||
.Select<ViewOrder>().ToList();
|
||||
Console.WriteLine("#### Examples End ####");
|
||||
}
|
||||
|
||||
|
@@ -390,6 +390,7 @@ namespace SqlSugar
|
||||
ILambdaExpressions expressionContext = sqlBuilder.QueryBuilder.LambdaExpressions;
|
||||
expressionContext.MappingColumns = this.MappingColumns;
|
||||
expressionContext.MappingTables = this.MappingTables;
|
||||
expressionContext.IsSingle = false;
|
||||
if (this.Context.CurrentConnectionConfig.MoreSettings != null)
|
||||
{
|
||||
expressionContext.PgSqlIsAutoToLower = this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
||||
|
Reference in New Issue
Block a user