- 兼容 Vb.Net 无法使用 int? 类型 = 等号表达式解析;#140

This commit is contained in:
28810
2019-12-21 21:32:45 +08:00
parent 1b1f5c12ae
commit 4330148193
2 changed files with 6 additions and 0 deletions

View File

@ -559,6 +559,7 @@ namespace FreeSql.Internal
case ExpressionType.Lambda: return ExpressionLambdaToSql((exp as LambdaExpression)?.Body, tsc);
case ExpressionType.TypeAs:
case ExpressionType.Convert:
case ExpressionType.ConvertChecked:
//var othercExp = ExpressionLambdaToSqlOther(exp, tsc);
//if (string.IsNullOrEmpty(othercExp) == false) return othercExp;
return ExpressionLambdaToSql((exp as UnaryExpression)?.Operand, tsc);