Skip to content

Commit

Permalink
- 修复 IncludeByPropertyName fromFirstTable 判断错误;#278
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Jun 9, 2022
1 parent d4cc952 commit 7e2b052
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public Expression ConvertStringPropertyToExpression(string property, bool fromFi
var firstTb = _tables[0];
var firstTbs = _tables.Where(a => a.AliasInit == field[0]).ToArray();
if (firstTbs.Length == 1) firstTb = firstTbs[0];
else
else if (fromFirstTable == false)
{
firstTbs = _tables.Where(a => a.Table.Type.Name == field[0]).ToArray();
if (firstTbs.Length == 1) firstTb = firstTbs[0];
Expand Down

0 comments on commit 7e2b052

Please sign in to comment.