Update exp to sql

This commit is contained in:
skx
2021-01-16 22:31:19 +08:00
parent f1c3617a35
commit fa3274a9cd

View File

@@ -182,6 +182,11 @@ namespace SqlSugar
throw new NotSupportedException("Not Supported " + item.ToString() + " " + ex.Message);
}
}
else if (item is ConditionalExpression)
{
var result = GetNewExpressionValue(item);
this.Context.Result.Append(base.Context.GetEqString(memberName, result));
}
}
}
private static bool IsConst(Expression item)