mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-09 09:55:05 +08:00
QueryableByObject.AddJoinInfo(type,string,string,jointype)
This commit is contained in:
@@ -80,8 +80,8 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public QueryMethodInfo AddJoinInfo(Type joinEntityType, string shortName, string onWhere, JoinType type = JoinType.Left)
|
public QueryMethodInfo AddJoinInfo(Type joinEntityType, string shortName, string onWhere, JoinType type = JoinType.Left)
|
||||||
{
|
{
|
||||||
var method = QueryableObj.GetType().GetMyMethod("AddJoinInfo", 4, typeof(string), typeof(string), typeof(string), typeof(JoinType));
|
var method = QueryableObj.GetType().GetMyMethod("AddJoinInfo", 4, typeof(Type), typeof(string), typeof(string), typeof(JoinType));
|
||||||
this.QueryableObj = method.Invoke(QueryableObj, new object[] { this.Context.EntityMaintenance.GetTableName(joinEntityType), shortName, onWhere, type });
|
this.QueryableObj = method.Invoke(QueryableObj, new object[] { joinEntityType, shortName, onWhere, type });
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
public QueryMethodInfo GroupBy(List<GroupByModel> models)
|
public QueryMethodInfo GroupBy(List<GroupByModel> models)
|
||||||
|
|||||||
Reference in New Issue
Block a user