mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-29 11:05:47 +08:00
- Lambda 参数化功能的 bug 解决
This commit is contained in:
@@ -504,6 +504,7 @@ namespace FreeSql.Internal
|
||||
public string ExpressionLambdaToSql(Expression exp, ExpTSC tsc)
|
||||
{
|
||||
if (exp == null) return "";
|
||||
if (tsc.dbParams != null && tsc.mapColumnTmp != null && tsc.mapColumnTmp.CsType.NullableTypeOrThis() != exp.Type) tsc.SetMapColumnTmp(null);
|
||||
if (tsc.isDisableDiyParse == false && _common._orm.Aop.ParseExpression != null)
|
||||
{
|
||||
var args = new Aop.ParseExpressionEventArgs(exp, ukexp => ExpressionLambdaToSql(ukexp, tsc.CloneDisableDiyParse()));
|
||||
|
||||
Reference in New Issue
Block a user