From 6a14af58932d77503288237eaa3199e22dca47c1 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 24 Nov 2017 15:35:29 +0800 Subject: [PATCH] Multi queryable Join --- Src/Asp.Net/SqlSugar/SqlSugarClient.cs | 31 +++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs index a04f8e4e4..e4781fed1 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs +++ b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs @@ -310,6 +310,35 @@ namespace SqlSugar queryable.Where(joinExpression); return queryable; } + + public virtual ISugarQueryable Queryable( + ISugarQueryable joinQueryable1, ISugarQueryable joinQueryable2, JoinType joinType, Expression> joinExpression) where T : class, new() + { + throw new Exception("Still in the process of development"); + } + public virtual ISugarQueryable Queryable( + ISugarQueryable joinQueryableMaster, ISugarQueryable joinQueryable1, JoinType joinType, Expression> joinExpression1, + ISugarQueryable joinQueryable2, JoinType joinType2, Expression> joinExpression2) where T : class, new() + { + throw new Exception("Still in the process of development"); + } + + public virtual ISugarQueryable Queryable( + ISugarQueryable joinQueryableMaster, ISugarQueryable joinQueryable1, JoinType joinType, Expression> joinExpression1, + ISugarQueryable joinQueryable2, JoinType joinType2, Expression> joinExpression2, + ISugarQueryable joinQueryable3, JoinType joinType3, Expression> joinExpression3) where T : class, new() + { + throw new Exception("Still in the process of development"); + } + + public virtual ISugarQueryable Queryable( + ISugarQueryable joinQueryableMaster, ISugarQueryable joinQueryable1, JoinType joinType, Expression> joinExpression1, + ISugarQueryable joinQueryable2, JoinType joinType2, Expression> joinExpression2, + ISugarQueryable joinQueryable3, JoinType joinType3, Expression> joinExpression3, + ISugarQueryable joinQueryable4, JoinType joinType4, Expression> joinExpression4) where T : class, new() + { + throw new Exception("Still in the process of development"); + } #endregion public virtual ISugarQueryable UnionAll(params ISugarQueryable[] queryables) where T : class, new() @@ -521,7 +550,7 @@ namespace SqlSugar public virtual EntityMaintenance EntityProvider { get { return base.Context.EntityMaintenance; } - set { base.Context.EntityMaintenance = value; } + set { base.Context.EntityMaintenance = value; } } public virtual EntityMaintenance EntityMaintenance {