mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update AddJoinInfo(Type JoinType, string shortName, string joinWhere, JoinType type = JoinType.Left)
This commit is contained in:
@@ -573,6 +573,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public ISugarQueryable<T> AddJoinInfo(Type JoinType, string shortName, string joinWhere, JoinType type = JoinType.Left)
|
public ISugarQueryable<T> AddJoinInfo(Type JoinType, string shortName, string joinWhere, JoinType type = JoinType.Left)
|
||||||
{
|
{
|
||||||
|
this.Context.InitMappingInfo(JoinType);
|
||||||
var tableName = this.Context.EntityMaintenance.GetEntityInfo(JoinType).DbTableName;
|
var tableName = this.Context.EntityMaintenance.GetEntityInfo(JoinType).DbTableName;
|
||||||
QueryBuilder.JoinIndex = +1;
|
QueryBuilder.JoinIndex = +1;
|
||||||
QueryBuilder.JoinQueryInfos
|
QueryBuilder.JoinQueryInfos
|
||||||
|
Reference in New Issue
Block a user