mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
-
This commit is contained in:
@@ -10,5 +10,6 @@ namespace SqlSugar
|
||||
public string EntityPropertyName { get; set; }
|
||||
public string DbColumnName { get; set; }
|
||||
public string DbTableName { get; set; }
|
||||
public string EntityName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ namespace SqlSugar
|
||||
public IDbMethods DbMehtods { get; set; }
|
||||
public int Index { get; set; }
|
||||
public int ParameterIndex { get; set; }
|
||||
public MappingColumn MappingColumns { get; set; }
|
||||
public MappingTable MappingTables { get; set; }
|
||||
public MappingColumnList MappingColumns { get; set; }
|
||||
public MappingTableList MappingTables { get; set; }
|
||||
public ResolveExpressType ResolveType { get; set; }
|
||||
public Expression Expression { get; set; }
|
||||
public ExpressionResult Result
|
||||
|
||||
@@ -104,6 +104,8 @@ namespace SqlSugar
|
||||
protected List<JoinQueryInfo> GetJoinInfos(Expression joinExpression, SqlSugarClient context,params Type [] entityTypeArray)
|
||||
{
|
||||
ExpressionContext exp = new ExpressionContext();
|
||||
exp.MappingColumns = context.MappingColumns;
|
||||
exp.MappingTables = context.MappingTables;
|
||||
exp.Resolve(joinExpression, ResolveExpressType.Join);
|
||||
var reval = exp.Result.GetResultArray();
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user