Synchronization code

This commit is contained in:
sunkaixuan 2023-09-11 14:17:27 +08:00
parent a5d1d07e3b
commit 15adcade53

View File

@ -573,6 +573,7 @@ namespace SqlSugar
}
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;
QueryBuilder.JoinIndex = +1;
QueryBuilder.JoinQueryInfos