Skip to content

Commit e949209

Browse files
committed
- 修复 MySql Enum MapType(int) .Contains 解析问题;
1 parent d512edb commit e949209

File tree

2 files changed

+110
-1
lines changed

2 files changed

+110
-1
lines changed

FreeSql/FreeSql.xml

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/Internal/CommonExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ public string ExpressionLambdaToSql(Expression exp, ExpTSC tsc)
11031103
return conditionalSql;
11041104
}
11051105
case ExpressionType.Call:
1106-
tsc.mapType = null;
1106+
if (!tsc.isNotSetMapColumnTmp) tsc.mapType = null;
11071107
var exp3 = exp as MethodCallExpression;
11081108
if (exp3.IsExpressionCall())
11091109
{

0 commit comments

Comments
 (0)